ios - 设置导航栏图标的大小 ios

标签 ios uinavigationbar rightbarbuttonitem

<分区>

我想知道导航栏图标是否有任何默认大小。设计师需要在哪里设计它。他们是否应该为视网膜和非视网膜显示器设计它。目前我使用的是从互联网上下载的图像,看起来不太好.

最佳答案

创建以下尺寸的导航栏图标:

About 44 x 44 pixels

About 22 x 22 pixels (standard resolution)

您可以在这里找到更多信息 https://developer.apple.com/library/ios/documentation/userexperience/conceptual/mobilehig/BarIcons.html

关于ios - 设置导航栏图标的大小 ios,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23211345/

相关文章:

ios - 错误 : "unable to dequeue a cell with identifier Cell"

ios - UIPopoverPresentationController 不会禁用标题 View 上的点击手势

iphone - 如何调整 rightBarButtonItems 中两个 UIBarButtonItem 之间的间距

iphone - 将核心数据结果排序到 NSFetchedResultsController

ios - 由于未捕获的异常 'NSInvalidArgumentException' 而终止应用程序,原因 : 'attempt to scroll to invalid index path

ios - 如何在导航栏中添加右键?

iphone - 向左箭头 - UINavigationItem

iphone - "self.navigationItem.rightBarButtonItem"不工作

ios - UISegmentedControl 仅在设备上显示第一项,但在模拟器中有效

ios - 签名无效 - 代码对象根本没有签名