我也使用 show(e.g.push) segue 来显示标签栏 Controller , 但我无法回到以前的事件。 这是用于模态转场:
dismissViewControllerAnimated(true, completion: nil)
谢谢。
最佳答案
我在我想返回的 Controller 中创建了一个 unwind 方法。
@IBAction func cancelToPlayersViewController(segue:UIStoryboardSegue) {
}
然后将导航栏按钮连接到 DetailViewController 的退出项
关于ios - 快速返回上一个 segue 而不会丢失标签栏 Controller ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28276578/