我正在構建應用程序,即使旋轉,我也希望它僅適用於風景。 閱讀身邊後,我已經設置了代碼艾琳這樣的:僅iPad風景(左側或右側)
- (BOOL)shouldAutorotateToInterfaceOrientation:UIInterfaceOrientation)interfaceOrientation { return (interfaceOrientation == UIInterfaceOrientationLandscapeRight);}
這工作,但我想的界面旋轉,但始終處於橫向模式只與左或右的主頁按鈕,像其他許多應用程序...
如何得到它?
太棒了,非常感謝! – Antonio 2010-12-08 02:50:35