This question already has an answer here:
- How to hide iOS status bar 20 answers
Just like the question says, I need to hide status + navigation bar when user taps. So far, navigation bar was easy. Cann't find a way to do the same with status bar.
By the way, tried
UIApplication.sharedApplication().statusBarHidden = true
but no luck yet
You should add this key/value pair to your project's Info.plist.
After that,calling
or
This post gives more details > How to hide iOS status bar
This should do the trick:
See this answer for more details.