开发者

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:

iPhone status bar showing over the top of UIView

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜