0

In iOS 7 , I have used custom navigation bar here .

But the problem is How can I set the image as it is 320*64 but the navigation item iOS is allowing me is 44pixel .. I am able to add the image on navigation controller successfully but don't have any idea about this .

enter image description here

Jean-Luc Godard
  • 1,873
  • 3
  • 28
  • 53

1 Answers1

1

Its because Navigation bar is 44 pixel in height and status bar is 20 pixel in height. In IOS7 the status bar is now transparent, that means the navigation bar behind it shows through. In some cases, the background image for a navigation bar can extend up behind the status bar.

if you hide status bar in your application you will find that the navigation bar will be smaller in height. This question has some nice discussion about this topic.

Community
  • 1
  • 1
Rashad
  • 11,057
  • 4
  • 45
  • 73