4

I have this view hierarchy on my storyboard:

UITabBarController -> UIView + ContainerController -> SplitViewController => [MASTER: (UINavigationController -> UITableviewController -> UITableViewController), DETAIL: (UINavigationController -> UIView)]

Here a screenshot of the storyboard:

enter image description here

As a result my detail view controller have a sort of offset from the bottom screen as shown in the red circle in the next screen:

enter image description here

I think it is a consequence of having a split view controller in a container controller that its embedded in a tab controller. It's like the detail view inherits the space of the tab bar of the root tab bar controller. I have tried to set all the options like UnderBottombar or "Under opaque bar" but nothing. I have removed any sort of custom code in my classes but there is always the same problem. How can i fix this issue?

ps: Sorry for bad english :)

Rishil Patel
  • 1,977
  • 3
  • 14
  • 30
msalafia
  • 2,703
  • 5
  • 23
  • 34

1 Answers1

5

This can be solved by checking Under Opaque Bars from attribute inspector of your SplitViewController. refer below screenshot,

enter image description here

Ketan Parmar
  • 27,092
  • 9
  • 50
  • 75