更新时间:2022-12-29 22:40:08
如果你只想要你的应用程序要在横向中运行并且不允许纵向,请更新应用的info.plist中的支持的界面方向列表,以仅包含横向方向。
If you only want your app to run in landscape and NOT allow portrait, update the 'Supported interface orientations' list in your app's info.plist to only include the landscape orientations.