I've set my UINavigationBar
background image to some image, like this:
UINavigationBar *navBar = self.navigationController.navigationBar;
UIImage *image = [UIImage imageNamed:@"Menubar.png"];
[navBar setBackgroundImage:image forBarMetrics:UIBarMetricsDefault];
but I cant really see the whole image since its bigger than the default size on a UINavigationBar.
So two things please:
- How to set a
UINavigation
size to fit the background image size? - I dont want to see the battery and time bar in the background, so my image will cover it.