iPhone事件什么时候轮换?
在我的应用程序中,我想在视图旋转之前进行一些处理。是否有在旋转发生之前触发的事件?
谢谢, 艾伦
In my app I'd like to do some processing before my view rotates. Is there an event that fires just before rotation takes place?
Thanks,
Alan
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
查看 UIViewController 的这些方法:
http:// /developer.apple.com/library/ios/#documentation/uikit/reference/UIViewController_Class/Reference/Reference.html
享受
check out these methods of UIViewController:
http://developer.apple.com/library/ios/#documentation/uikit/reference/UIViewController_Class/Reference/Reference.html
Enjoy
UIViewController 中有许多在旋转期间触发的事件。以下两个在旋转之前触发:
“在用户界面开始旋转之前发送到视图控制器。”
“在执行一步用户界面旋转之前发送到视图控制器。”
There are a number of events in UIViewController that are triggered during a rotation. The following two trigger before the rotation:
"Sent to the view controller just before the user interface begins rotating."
"Sent to the view controller before performing a one-step user interface rotation."