iPhone status bar showing over the top of UIView
I'm having an issue removing/hiding the status bar. I have looked at other posts and tried using the following line in my code:
self.wan开发者_JAVA技巧tsFullScreenLayout = YES;
This seems to work to some extent, however I can still see the status bar, except now it's on top of my view:
Does anyone have any ideas on how to fix this? I've never come across this problem before.
In info.plist I added UIStatusBarHidden and I set it to true. This resolved the issue.
精彩评论