我在导航栏上使用 ToolBarItems。在 iOS 上,工具栏项之间的距离很远。我们能不能把它们拉近一点。
最佳答案
项目之间的间距遵循Human Interface Guideline from Apple for iOS .我建议不要违反准则,除非您有非常具体的原因。
回答你的问题:
您可以为 UIToolbar
使用自定义渲染器和或UINavigationbar
放置它的 subview 又名 UIBarButtonItem
靠得更近。
关于ios - Xamarin 表单 : Is there a way to reduce the spacing on ToolBarItems,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41355977/