Info.plist修改

<key>UISupportedInterfaceOrientations</key>

<array>

<string>UIInterfaceOrientationLandscapeRight</string>

        <string>UIInterfaceOrientationLandscapeLeft</string>

<string>UIInterfaceOrientationPortrait</string>

</array>

<key>UISupportedInterfaceOrientations~ipad</key>

    <array>

        <string>UIInterfaceOrientationPortrait</string>

        <string>UIInterfaceOrientationLandscapeLeft</string>

        <string>UIInterfaceOrientationLandscapeRight</string>

    </array>

  以上问题只有ipad 有问题 手机和pad 区别设置

版权声明:本文为wupeng88原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://www.cnblogs.com/wupeng88/p/12924449.html