Auto Layout and “Hide bottom bar when pushed”

后端 未结 10 1948
Happy的楠姐
Happy的楠姐 2021-01-30 12:54

My app\'s (simplified) structure is this:

UITabBarController with one UINavigationController holding a UITableViewController as ro

相关标签:
10条回答
  • 2021-01-30 13:54

    set UINavigationBar Translucent with NO.

    like this: self.navigationController.navigationBar.translucent = NO;

    0 讨论(0)
  • 2021-01-30 13:56

    Select your "Navigation Controller" and in "Attribute Inspector" remove the checkmark from "Under Bottom Bars".

    0 讨论(0)
  • 2021-01-30 13:56

    IF you can't select bottomlayoutguide bottom in your Xcode 7+

    just do the following: open your storyboard in source code editor

    search your controller's identifier

    find <layoutGuides>, type <bottom>, copy it id

    search by id change attribute from top to bottom

    enjoy.

    0 讨论(0)
  • 2021-01-30 13:58

    In the storyboard, Go to the View Controller that you want to hide the tab bar, click on Attribute Inspector and select Hide bottom bar when pushed. Check image bellow.

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