Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
嗨,我正在编写一个程序,但遇到了问题。我有 4 个视图控制器。Vc1、Vc2 和 Vc3 模态连接到 Vc4。我想知道如何找出哪个视图控制器连接到 Vc4。任何帮助将不胜感激。
应该在presentingViewController2 个视图控制器之间自动设置关系,因此您只需要从呈现的视图控制器中查询属性。
presentingViewController