Blog Archives

iOS 7 Navigation Bar Appear Over The Views

A lot of elements has changed in iOS7, they have introduced new properties that lets you adjust the layout behavior as in previous versions of iOS. The Navigation Bar appears over the views now because a default setting has changed,

Posted in ErrorFix, Mac Tagged with: ,

Xcode Use Image On UINavigationbar

You can set an image to the UINavigationbar in Xcode for iPhone like this: UINavigationBar *navBar = [[self navigationController] navigationBar]; UIImage *backgroundImage = [UIImage imageNamed:@”nav-bar-background-normal”]; [navBar setBackgroundImage:backgroundImage forBarMetrics:UIBarMetricsDefault]; Works from iOS 5 and up.

Posted in Mac, Tips and Tricks Tagged with: , ,