如何强制我的应用程序在横向模式下启动UISplitViewController?UISplitViewController风景
0
A
回答
0
您可以在Info.plist文件中拥有不同的基于设备的设置。
我发现了一个example在那里谈论过在风景模式下的应用的启动(取决于设备)是这样的:
<key>UIInterfaceOrientation</key>
<string>UIInterfaceOrientationPortrait</string>
<key>UIInterfaceOrientation~ipad</key>
<string>UIInterfaceOrientationLandscapeLeft</string>
随着第一标签指的iPhone和〜iPad的一个指的的iPad。不知道这个链接是否会对你有所帮助,但是这个(我的意思是Info.plist方式)绝对是你的选择。
希望它有帮助。
侨
乔瓦尼
0
您可以随时使用此方法。
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
return (interfaceOrientation == UIInterfaceOrientationLandscapeLeft);
}
0
相关问题
- 1. 修复UISplitViewController的风景方向
- 2. UISplitViewController - 景观问题
- 3. iPad - UISplitViewController - 背景颜色
- 4. 在UISplitViewController中调整细节视图控制器的大小[仅iPad风景]
- 5. 具有透明背景的Modal UISplitViewController
- 6. 如何全屏UISplitViewController在景观DetailView
- 7. 添加背景到整个UISplitViewController
- 8. Potrait风景
- 9. 的风景被
- 10. iphone pushviewcontroller风景
- 11. iphone UIKeyboard风景
- 12. ECSlidingViewController风景768x768px
- 13. InterfaceBuilder将风景
- 14. AVCaptureVideoPreviewLayer风景取向
- 15. CustomIOS7AlertView风景模式
- 16. Monotouch Only风景iOS6
- 17. AVCaptureMovieFileOutput风景方向
- 18. iPhone风景问题
- 19. iPad风景取向
- 20. Android风景布局
- 21. UIScrollView风景问题
- 22. UILabel风景取向
- 23. 方向变化从风景到风景模式stra 012作响
- 24. MPMoviePlayerController不会自动改变风景到风景
- 25. UISplitViewController viewWillDisappear
- 26. 在UISplitViewController
- 27. UISplitViewController shouldAutorotateToInterfaceOrientation
- 28. UISplitViewController detailView
- 29. popover UISplitViewController
- 30. 的UISearchBar没有背景风景模式