如何使用xcode 3.2.6在横向模式下创建通用应用程序默认情况下?我需要为每个视图分离.xib文件,我是否必须使用此代码 - (BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {//对于支持的方向返回YES return(interfaceOrientation == UIInterfaceOrientationLandscape); }universal xcode 3.2.6默认的横向模式
0
A
回答
0
我使用此示例代码,并使其基于视图我只隐藏其导航b AR由RootViewController_Phone.h和RootViewController_Pad BenellingsonPost
0
在你的plist,你应该改变supported interface orientations
只是两个项目:
项目0 Landscape (right home button)
项目1 Landscape (left home button)
而且在每个视图控制器使用:
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
// Return YES for supported orientations
return (UIInterfaceOrientationIsLandscape(interfaceOrientation));
}
相关问题
- 1. Xcode 4&Xcode 3.2.6
- 2. 如何停止Xcode 3.2.6默认iPad模拟器?这是新的行为吗?
- 3. 的XCode:如何更改的横向和纵向模式
- 4. 如何在WP7中更改横向模式下的ApplicationBar默认大小?
- 5. Base SDK Xcode 3.2.6
- 6. Xcode 6中的默认设备方向
- 7. 根据当前横向模式自动旋转默认应用程序图像
- 8. 旋转视图以横向模式
- 9. UIAlertView在横向模式
- 10. iPhone横向模式问题
- 11. Simperium登录横向模式
- 12. 两个横向模式
- 13. 只在横向模式
- 14. printPreview横向模式inC#
- 15. AutoCompleteTextView提示横向模式
- 16. XCode 4和XCode 3.2.6并排
- 17. 方向纵向和横向模式
- 18. SharedPreferences默认模式
- 19. @Autowire默认模式
- 20. iOS教程Xcode 3.2.6
- 21. Xcode 3.2.6和Mountain Lion
- 22. 有没有办法在Xcode 8中将故事板默认为横向?
- 23. UICollectionViewCell地方细胞在横向模式
- 24. 如何在Xcode 4中将视图变为横向模式
- 25. 在Xcode 4中重新启用横向模式
- 26. UISplitView - 横向模仿人像模式
- 27. 横向布局不能在横向模式下工作
- 28. 横向模式下的tabbar控制器
- 29. UIModalPresentationFormSheet在横向模式下的iPad
- 30. 横向模式下的中心VideoView
@iphonemaclover,大使用此代码
self.navigationController.navigationBarHidden = YES;
! – iNoob 2012-03-22 03:10:43