As in the title, I have a navigation bar that hides my status bar. I run my application on a simulator and recently started to run it on an iPhone 4s iOS7 device, and noticed that the status bar is hidden or hidden, only you can see this is the green battery life. The reason I think it is hidden is because I have a search bar in one of my view controllers, and when I use the search bar, you can see the status bar, cell provider, time, etc.
Things I did to make sure I didn’t do this by accident:
Checked the Target-> Deployment Info ->Status Bar Style. It is in Default.
Checked each xib file to see if the status bar is set to none. All of them are at Default.
Searched the keyword "hidden" in all my .m files.
Anyone have any suggestions? I looked through here and see only messages about people who really want to hide it without fixing it. If someone had something like this, I can try something.
Answer:
I was using a navigation bar image and the sizes were different.
I was using iOS6 bar size, 32x32, but now I am using 88x64 and
that fixed it for iOS7. How do I check if phone is iOS6 or iOS7?
Chris source
share