Add a UINavigationController nested inside a container view controller to a UITabBarController

后端 未结 2 1934
失恋的感觉
失恋的感觉 2021-02-09 20:00

I have a UIViewController (red) set as the first tab of a UITabBarController as shown in the storyboard below. This view controller is a container view

相关标签:
2条回答
  • 2021-02-09 20:42

    I know you are also looking for an answer which works on iOS 6, but on iOS 7 and above you can use

    self.extendedLayoutIncludesOpaqueBars = YES;
    
    0 讨论(0)
  • 2021-02-09 20:43

    Have you tried setting self.edgesForExtendedLayout = UIRectEdgeAll; in -(void)viewDidLoad of Table View Controller - Root?

    Note: iOS 7 only

    0 讨论(0)
提交回复
热议问题