Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/lua/3.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

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jsf-2/2.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
Ios7 SLComposeViewController自动旋转_Ios7_Uiviewcontroller_Slcomposeviewcontroller_Autorotate - Fatal编程技术网

Ios7 SLComposeViewController自动旋转

Ios7 SLComposeViewController自动旋转,ios7,uiviewcontroller,slcomposeviewcontroller,autorotate,Ios7,Uiviewcontroller,Slcomposeviewcontroller,Autorotate,我有一个UIViewController,它始终是横向的。我展示了一个SLComposeViewController实例,但令我惊讶的是,这会导致我的视图控制器与我的SLComposeViewController实例一起自动旋转到纵向模式。如何阻止这种自转发生?SLComposeViewController是否仅在纵向模式下受支持?我将为您提供另一篇包含该代码的文章的链接,而不是重写现有文章。看看这个。这个人也做了很好的解释 请通过KL查看第二个anwser

我有一个UIViewController,它始终是横向的。我展示了一个SLComposeViewController实例,但令我惊讶的是,这会导致我的视图控制器与我的SLComposeViewController实例一起自动旋转到纵向模式。如何阻止这种自转发生?SLComposeViewController是否仅在纵向模式下受支持?

我将为您提供另一篇包含该代码的文章的链接,而不是重写现有文章。看看这个。这个人也做了很好的解释

请通过KL查看第二个anwser