UITabBar and back button disappears in iOS 9

2019-02-26 14:03发布

问题:

In iOS 9, when I segue from a table to a navigation controller, the nav bar and the tab bar disappear. As a result, my users will be hosed. How to fix it?

My StoryBoard structure is basically this:

->Tab Bar Controller->Nav Controller->Table View->Nav Controller->Table View->....

When I select a row in the first table view, the segue occurs, but the tab bar and back buttons disappear.

---->

Notice the missing parts in the right picture.

DTS request has been filed, bug was reported months ago etc.

回答1:

Yes, as I stated, you can't nest a navigationController within a navigationController, or you will see this undesired behaviors. While you were able to slide somehow in Xcode 6/swift 1.2 with doing this, Xcode 7 has caught up to many loopholes.