UINavigationBar Disappear - Only on iOS7

100 Views Asked by At

I am developing an app for iOS7 and later. I have a navigation bar which shows the < Back button after push segue.

When I run it on my iphone 5c(8.1) everything works fine. When I run it on my old iphone 4 (7.1) the UINavigationBar is not showing up causing malfunction to my app cause the back button won't appear and i have to close and reopen the app.

1

There are 1 best solutions below

6
On

Add the following to your viewDidLoad

[self.navigationController.navigationBar setHidden:NO];