如何将Orientation选项全部添加到我的应用程序的.plist文件中?
答案 0 :(得分:0)
你做不到。您只能在iPhone App启动时设置用户界面的方向。此外,您还可以更改设备的方向:
[[UIDevice currentDevice] setOrientation:UIInterfaceOrientationLandscapeRight];
并对shouldAutorotateToInterfaceOrientation提供适当的响应:
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {return(interfaceOrientation == UIInterfaceOrientationLandscapeRight); }