VRAwesome
VRAwesome

Reputation: 4803

What is the UINavigatioBar height in new devices?

What is the UINavigatioBar height in following devices ? It increased in proportion of resolution or remain same as before ?

  1. iPhone 6
  2. iPhone 6s
  3. iPhone 6 Plus
  4. iPhone 6s Plus
  5. iPad pro (12.9") Does anyone know ? Please let me know.

Thanks.

Upvotes: 0

Views: 313

Answers (2)

limfinity
limfinity

Reputation: 746

You can get the height of the navigation bar by using

self.navigationController.navigationBar.frame.size.height

This'll give you for the different orientations the following point values (portrait/landscape):

  • iPhone 6: 44/32
  • iPhone 6 Plus: 44/44
  • iPhone 6s: 44/32
  • iPhone 6s Plus: 44/44
  • iPad Pro: 44/44

Check this guide for a good overview on points and pixels in iOS.

Upvotes: 2

Nikunj
Nikunj

Reputation: 675

NavigationBar height show below:

iPhone 6-> 88px
iPhone 6s->88px
iPhone 6 Plus->132px
iPhone 6s Plus->132px

Refer this link -> http://ivomynttinen.com/blog/the-ios-7-design-cheat-sheet/

Upvotes: 1

Related Questions