2010-06-05 18 views

回答

0

在您的應用程序的.plist設置文件,您可以指定後指您的應用程序支持的方向。如果你只需要你的應用程序,以顯示水平視頻權開始後的指定:

<key>UIInterfaceOrientation</key> 
<string>UIInterfaceOrientationLandscapeRight</string> 

同時,我認爲iOS的版本比3.1,您可以使用類似:

[[UIDevice currentDevice] setOrientation:UIInterfaceOrientationLandscapeRight]; 
相關問題