我在 Storyboard中间有一个 UITabBarController
,当我按下 UITabBarController< 上的后退按钮 时,我想要它
(TabBar) 直接将我发送到 View02
。
我的顺序是:
NavigationController->UIViewController01-> UIViewController02 -> UIViewController03 -> UITabBarController -> 3 TabBarViews
你能帮帮我吗?
提前致谢
最佳答案
您必须创建展开转场。首先在要展开到的 View Controller 中添加一个方法:
- (IBAction)unwindToMyViewController:(UIStoryboardSegue *)unwindSegue
{
}
然后在 View Controller 中,您希望从按钮拖动到绿色退出图标并选择您的操作。
关于ios - 如何从 UITabBarController 展开到自定义 View ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22207512/