Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/98.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Iphone iOs视图方向_Iphone_Ios - Fatal编程技术网

Iphone iOs视图方向

Iphone iOs视图方向,iphone,ios,Iphone,Ios,我在我的应用程序MailComposer中使用,如果它在纵向横向模式下激活,则工作正常,但如果在横向模式下激活,则只能看到灰色屏幕 附言。 shoulldAutoRotateTointerFaceOrientation返回始终是我已经在我的应用程序中实现了邮件生成器,并且在两个方向上都有效,只需检查此方法即可 - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {

我在我的应用程序MailComposer中使用,如果它在纵向横向模式下激活,则工作正常,但如果在横向模式下激活,则只能看到灰色屏幕

附言。
shoulldAutoRotateTointerFaceOrientation返回始终是

我已经在我的应用程序中实现了邮件生成器,并且在两个方向上都有效,只需检查此方法即可

 - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
    // Overriden to allow any orientation.
    return YES;
}

我也有。。。如果我在纵向模式下启动Composer,然后将模式更改为横向模式-它可以工作,但是,如果我在横向模式下关闭Composer,那么我将再次收到灰色屏幕