Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

tranvutuan

macrumors member
Original poster
Dec 19, 2011
74
0
If hiding the status bar by choosing status bar style = hide during application launch and I am customizing uinavigation bar like the following
Code:
[[UINavigationBar appearance] setBackgroundImage:[UIImage imageNamed: @"navbar-iphone.png"]
                                       forBarMetrics:UIBarMetricsDefault];

and when I am getting this : the navigation bar is cut off the top.

Any ideas about this situation and how to fix it ?
 

Attachments

  • pix1.png
    pix1.png
    18.3 KB · Views: 68
  • pix2.png
    pix2.png
    18.6 KB · Views: 42
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.