Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/iphone/35.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-在其他uiviewcontroller中播放youtube视频后自动旋转不起作用_Iphone_Youtube_Uitabbarcontroller_Modalviewcontroller_Autorotate - Fatal编程技术网

iPhone-在其他uiviewcontroller中播放youtube视频后自动旋转不起作用

iPhone-在其他uiviewcontroller中播放youtube视频后自动旋转不起作用,iphone,youtube,uitabbarcontroller,modalviewcontroller,autorotate,Iphone,Youtube,Uitabbarcontroller,Modalviewcontroller,Autorotate,我对tabbarController中的viewcontroller的自动旋转有问题,这是唯一一个应该自动旋转的viewcontroller,通过在AppDelegate中将shouldAutorotateToInterfaceOrientation:toInterfaceOrientation设置为just Grait来工作,并且 以modalViewcontroller和 应将该视图控制器中的AutoRotateTointerFaceOrientation:toInterfaceOrient

我对tabbarController中的viewcontroller的自动旋转有问题,这是唯一一个应该自动旋转的viewcontroller,通过在AppDelegate中将shouldAutorotateToInterfaceOrientation:toInterfaceOrientation设置为just Grait来工作,并且 以modalViewcontroller和 应将该视图控制器中的AutoRotateTointerFaceOrientation:toInterfaceOrientation设置为YES=All 这很好,但是:当我在另一个viewcontroller中播放youtube视频并返回后,它就停止工作了!我检查了所有内容,以及层次结构等,所有内容看起来都是一样的,但是应该不会再调用AutoRotateTointerFaceOrientation! 非常感谢所有的帮助/建议!!谢谢