Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Navigation Controllers in UISplitViewController leave space for bottom bar

As the title indicates, I am having an issue when using UINavigationControllers as the Master and Detail view in a UISplitView. The navigation controllers leave space for a bottom bar. When I remove the nav controllers, the views are rendered just fine.

The storyboard looks like:

TabBarController -> SplitView -> UINavigationController (master and detail) -> ViewControllers for each.

I am able to "hack" the view to render properly by adding 40px of extra space as a constraint, but I would rather not do that.

What am I missing?

EDIT: I've mocked everything up in an empty project and it seems to work fine by default. It seems I've changed some setting or doing something in my main project that is causing this issue.

The gray space is what I am trying to remove.

like image 931
puttputt Avatar asked Sep 11 '15 17:09

puttputt


1 Answers

Turn on setting "Under Opaque Bars"

like image 152
user1452579 Avatar answered Sep 18 '22 07:09

user1452579