我的应用只使用风景。我通过.plist的支持的界面方向来修复它。如何修复viewcontroller的旋转?
但是,我需要使用UIImagePickerController,它只支持纵向模式。如何将我的应用程序的旋转旋转到特定视图控制器中的肖像?
任何提示将非常有帮助!泰!
我的应用只使用风景。我通过.plist的支持的界面方向来修复它。如何修复viewcontroller的旋转?
但是,我需要使用UIImagePickerController,它只支持纵向模式。如何将我的应用程序的旋转旋转到特定视图控制器中的肖像?
任何提示将非常有帮助!泰!
ColinE,你的意思是我应该设置如下?
所有其他viewControllers
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
return (interfaceOrientation == UIInterfaceOrientationLandscapeRight || UIInterfaceOrientationLandscapeLeft);
}
,并设置portarit页面
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
return (interfaceOrientation == UIInterfaceOrientationPortrait);
}