Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/iphone/39.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
iOS8 iphone倒置旋转不';我工作不好_Iphone_Uiviewcontroller_Ios8 - Fatal编程技术网

iOS8 iphone倒置旋转不';我工作不好

iOS8 iphone倒置旋转不';我工作不好,iphone,uiviewcontroller,ios8,Iphone,Uiviewcontroller,Ios8,是虫子还是我忘了什么 我在appDelegate中添加了以下代码 (NSUInteger)application:(UIApplication *)application supportedInterfaceOrientationsForWindow:(UIWindow *)window{ return UIInterfaceOrientationMaskAll; } 在我的viewController中 - (NSUInteger)supportedInterfaceOrienta

是虫子还是我忘了什么

我在appDelegate中添加了以下代码

(NSUInteger)application:(UIApplication *)application supportedInterfaceOrientationsForWindow:(UIWindow *)window{
    return  UIInterfaceOrientationMaskAll;
}
在我的viewController中

- (NSUInteger)supportedInterfaceOrientations {
    return UIInterfaceOrientationMaskAll;
}
这就是项目设置

viewController旋转良好,但如果我尝试显示警报,结果如下


ios 7的一些代码工作正常

项目设置中有哪些选项?我忘了发布设置,我现在在问题中添加了任何新闻?这个问题似乎只出现在UIAlertView中,甚至在最终的iOS8版本中……我认为这是一个bug。我也有同样的问题,它只影响iOS8。我在苹果的Bug追踪器18780989上报告过