0

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.wantsFullScreenLayout = 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:

enter image description here

Does anyone have any ideas on how to fix this? I've never come across this problem before.

1 Answers1

0

In info.plist I added UIStatusBarHidden and I set it to true. This resolved the issue.