Lupyana Mbembati
Lupyana Mbembati

Reputation: 1856

TabBarController top bar

I added a tabBarCotroller to my app. WhenI run the app in simulator/phone a big bar appears on top of each page. This bar does not appear in the storyboard. How can I remove it? I want the app to extend all the way to the topenter image description here

Upvotes: 0

Views: 64

Answers (1)

javier rivarola
javier rivarola

Reputation: 510

If you want to hide for all view controllers in the app that share the same UINavigationController use this

self.navigationController?.isNavigationBarHidden = true

If you are not using a UINavigationController then try this:

Select your ViewController

enter image description here

and then select

enter image description here

Upvotes: 1

Related Questions