UITabBar and back button disappears in iOS 9

2019-02-26 13:46发布

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.

ios 8 ----> ios 9

Notice the missing parts in the right picture.

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

1条回答
时光不老,我们不散
2楼-- · 2019-02-26 14:14

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.

查看更多
登录 后发表回答