How to make an ipad app only portrait?

前端 未结 2 1310
不思量自难忘°
不思量自难忘° 2021-01-02 16:56

I am making an ipad app, and i set the the app to only portrait, but it still works in landscape? Why is this happening only on an ipad? How do i fix this?

Note: if

相关标签:
2条回答
  • 2021-01-02 17:42

    In xcode select your project. Go to Targets -> General, scroll down and you can select the Orientation as portrait only.

    You can also make change to info.plist file to select proper orientations for Supported interface orientations (iPad)

    0 讨论(0)
  • 2021-01-02 17:51

    In deployment Info section you can select your app orientation to support.

    0 讨论(0)
提交回复
热议问题