2

I want my content to go under status bar. I don't want to show NavigationBar. I've checked extend edges "Under Top Bars" in storyboard settings and I am facing an issue that it just stops working from no reason. Can I force ViewController/ NavigationController content to go under status bar programmatically ?

Thank you

Leo
  • 24,180
  • 10
  • 68
  • 91
zevonja
  • 193
  • 1
  • 14
  • looks like a duplicate of [link](http://stackoverflow.com/questions/28367771/extend-uiviewcontrollers-view-without-a-navigation-bar-under-status-bar) – sublimepremise Jul 17 '15 at 14:31

1 Answers1

-1
override func viewDidLoad() {
    super.viewDidLoad()
    self.navigationController?.navigationBarHidden = true
}
Jed
  • 453
  • 1
  • 5
  • 14