[英]viewController in other view controller
when i try to call view controller view in to another view controller . 当我尝试将视图控制器视图调用到另一个视图控制器中时。 that time there delegate method like viewWillAppear: does not call .
那时有诸如viewWillAppear:的委托方法不调用。
any Suggestion? 有什么建议吗?
viewWillAppear:
is only called by the framework when you use the built-in view controller transitions like presentModalViewController:animated:
or pushViewController:animated:
. 仅当您使用诸如
presentModalViewController:animated:
或pushViewController:animated:
类的内置视图控制器转换时,框架才会调用viewWillAppear:
In other cases, you have to call viewWill/Did(Dis)Appear:
yourself. 在其他情况下,您必须自己调用
viewWill/Did(Dis)Appear:
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.