且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何将UIImageView更改为landscapemode?

更新时间: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.