Iphone iOs视图方向
我在我的应用程序MailComposer中使用,如果它在纵向横向模式下激活,则工作正常,但如果在横向模式下激活,则只能看到灰色屏幕 附言。Iphone iOs视图方向,iphone,ios,Iphone,Ios,我在我的应用程序MailComposer中使用,如果它在纵向横向模式下激活,则工作正常,但如果在横向模式下激活,则只能看到灰色屏幕 附言。 shoulldAutoRotateTointerFaceOrientation返回始终是我已经在我的应用程序中实现了邮件生成器,并且在两个方向上都有效,只需检查此方法即可 - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
shoulldAutoRotateTointerFaceOrientation返回始终是我已经在我的应用程序中实现了邮件生成器,并且在两个方向上都有效,只需检查此方法即可
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
// Overriden to allow any orientation.
return YES;
}
我也有。。。如果我在纵向模式下启动Composer,然后将模式更改为横向模式-它可以工作,但是,如果我在横向模式下关闭Composer,那么我将再次收到灰色屏幕