假设我有 4 个 View Controller
第 1 页 ----showdetail----> 第 2 页 ----> 第 3 页 ----showdetail----> 第4页
我想使用 self.dismissViewControllerAnimated(true, completion: nil)
从第 4 页返回到第 3 页。它在 iOS 9 中运行良好,但当我在 iOS 8 设备中尝试时,它会将所有 View Controller 关闭到第 1 页
最佳答案
您可能想使用Present Modally
转场而不是Show Detail
。这里对每种segues都有很好的解释What's the difference between all the Selection Segues?
关于ios - dismissViewControllerAnimated 将所有 View Controller 关闭到 root [swift],我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35794956/