当alertview存在时,iOS 7 ViewController不旋转

iOS 7 Viewcontroller当alertview存在时不旋转。

但我的状态栏正在改变为设备的方向。 但是,在最近的警报定位中,视图仍然冻结

对于以下任何一种方法,您的旋转代码是否有冲突?

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