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,596
  • 11
  • 71
  • 92
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
  • 494
  • 1
  • 6
  • 15