iOS 7 Viewcontroller not rotating when alertview is present

大城市里の小女人 提交于 2019-12-13 02:58:39

问题


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


回答1:


Do you have conflicting rotational code for any of the following methods?

- (NSUInteger)application:(UIApplication *)application supportedInterfaceOrientationsForWindow:(UIWindow *)window
- (NSUInteger)supportedInterfaceOrientations
- (UIInterfaceOrientation)preferredInterfaceOrientationForPresentation


来源:https://stackoverflow.com/questions/19521085/ios-7-viewcontroller-not-rotating-when-alertview-is-present

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!