我用的很快。我想在Storyboard的TabBar内部使用Navigation。首先,第一个显示出现在选项卡菜单的内部。但是,当我移至第二显示时,第二显示将显示,而没有选项卡菜单。
我选择了segue类型“ show(egPush)”
如何在所有视图上继续显示选项卡菜单?
在界面生成器中:
UITabBarController
UITableViewController
menu bar > Editor > Embed in > Navigation Controller
UINavigationController
Relationship Segue > view controllers
To perform a segue from the first-in-stack UITableViewController connected to the UINavigationController, to another ViewController you must of course first create another ViewController, create a segue to it in Interface Builder, create an identifier for your segue and in your code perform it by calling the appropriate function in Swift like:
Interface Builder
optional func performSegueWithIdentifier(_ identifier: String, sender sender: AnyObject?)
Here’s a sample on how your Interface Builder could look like: