您好,我正在编写一个程序,但遇到了一个问题。我有 4 个 View Controller 。 Vc1、Vc2 和 Vc3 模态转至 Vc4。我想知道如何找出哪个 View controller segued 到 Vc4。任何帮助将不胜感激。
最佳答案
presentingViewController
关系应该在 2 个 View Controller 之间自动设置,因此您只需要从呈现的 View Controller 查询属性。
关于iphone - 找出哪个 View Controller 连接到另一个,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17504489/