2
我已經將我的iPhone設置爲橫向模式,但是當我嘗試顯示UIAlertView時,它以縱向模式進入。它如何以橫向模式顯示?UIAlertView在橫向模式
我已經將我的iPhone設置爲橫向模式,但是當我嘗試顯示UIAlertView時,它以縱向模式進入。它如何以橫向模式顯示?UIAlertView在橫向模式
中的applicationDidFinishLaunching添加以下代碼在applicationdelegate.m文件
[[UIApplication sharedApplication] setStatusBarOrientation: UIInterfaceOrientationLandscapeLeft animated: NO ];