IPhone6/6plus landscape status bar hidden

2019-09-03 08:45发布

问题:

This is an extension of this thread regarding displaying status bar for iOS8. Unfortunately, I needed to enable my apps to display the status bar on landscape orientation regardless of fixed or rotated.

With my answer on this thread, the behaviour on the iPhone6 Simulator (not sure on actual device for now) the status bar doesn't get displayed. Yet when the application is resumed from other application or home screen it gets displayed. Is this normal?

回答1:

No that is not normal, however you should not be greatly concerned if you are running a beta version of XCode 6. If you are running the final version however, I would recommend creating a new project after ensuring that XCode is updated and test if the simulator is giving the same results. Try simulators for other devices as well. If none of that works, it is something related to the code. Keep in mind that the simulator does not necessarily emulate an actual device identically, I had an orientation bug in one of my apps that did not occur on the final device recently.