新设备的导航栏高度是多少?
What is the UINavigatioBar height in new devices?
UINavigatioBar 在以下设备中的高度是多少?分辨率比例增加还是保持原样?
- iPhone 6
- iPhone 6s
- iPhone 6 加
- iPhone 6s 加
- iPad 亲 (12.9")
有人知道吗 ?请告诉我。
谢谢。
NavigationBar
身高如下:
iPhone 6-> 88px
iPhone 6s->88px
iPhone 6 Plus->132px
iPhone 6s Plus->132px
参考这个 link -> http://ivomynttinen.com/blog/the-ios-7-design-cheat-sheet/
您可以使用
获取导航栏的高度
self.navigationController.navigationBar.frame.size.height
这将为您提供以下不同方向的点值 (portrait/landscape):
- iPhone 6: 44/32
- iPhone 6 加:44/44
- iPhone 6s: 44/32
- iPhone 6s 加: 44/44
- iPad 专业版:44/44
检查 this guide 以获得对 iOS 中点和像素的良好概述。
UINavigatioBar 在以下设备中的高度是多少?分辨率比例增加还是保持原样?
- iPhone 6
- iPhone 6s
- iPhone 6 加
- iPhone 6s 加
- iPad 亲 (12.9") 有人知道吗 ?请告诉我。
谢谢。
NavigationBar
身高如下:
iPhone 6-> 88px
iPhone 6s->88px
iPhone 6 Plus->132px
iPhone 6s Plus->132px
参考这个 link -> http://ivomynttinen.com/blog/the-ios-7-design-cheat-sheet/
您可以使用
获取导航栏的高度self.navigationController.navigationBar.frame.size.height
这将为您提供以下不同方向的点值 (portrait/landscape):
- iPhone 6: 44/32
- iPhone 6 加:44/44
- iPhone 6s: 44/32
- iPhone 6s 加: 44/44
- iPad 专业版:44/44
检查 this guide 以获得对 iOS 中点和像素的良好概述。