我嘗試在右側的主屏幕右側(主頁按鈕)應用程序上使用UIAlertView,但它以縱向顯示。我試過了:即使使用applicationDidFinishLaunching調用,UIAlertView也不會旋轉到風景
[[UIApplication sharedApplication] setStatusBarOrientation:UIInterfaceOrientationLandscapeRight animated:NO];
in applicationDidFinishLaunching,但它不起作用。有什麼其他通常的嫌疑人可能造成這種情況?我現在通過我的plist文件設置方向。