iOS 7 Viewcontroller在alertview存在时不旋转 [英] iOS 7 Viewcontroller not rotating when alertview is present
本文介绍了iOS 7 Viewcontroller在alertview存在时不旋转的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
iOS 7 Viewcontroller当存在alertview时不旋转。
iOS 7 Viewcontroller Not rotating when alertview is present .
但我的状态栏正在更改为设备的方向。但是视图在最后一个方向仍然冻结,其中存在警报
but my status bar is changing to orientation of the device . But view remains freezes at last orientation in which alert was present
推荐答案
对于以下任何方法,您是否存在冲突的旋转代码?
Do you have conflicting rotational code for any of the following methods?
- (NSUInteger)application:(UIApplication *)application supportedInterfaceOrientationsForWindow:(UIWindow *)window
- (NSUInteger)supportedInterfaceOrientations
- (UIInterfaceOrientation)preferredInterfaceOrientationForPresentation
这篇关于iOS 7 Viewcontroller在alertview存在时不旋转的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文