我可能过于复杂了,但是有没有办法访问模态父项的属性?
因此,我调用“presentModalViewController”,然后我可以访问刚刚从模态调用它的 View Controller 上的一些属性。
谢谢, 阿什莉
最佳答案
如果你使用的是 iOS 5,你可以调用 self.presentingViewController 来访问父 View Controller
这里是 apple reference
关于iOS - 访问模态的父属性,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10372658/