0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Xcode Device orientation が反映されいない

Posted at

環境

  • MacOS Big Sur 11.6
  • Xcode 13.0
  • Swift 5.5

状況

Xcode13, Device Orientation で Portrait のみに check を入れてアプリの向きを縦に固定したが、スマホを横にすると画面が回転してしまう。
スクリーンショット 2021-10-21 21.34.05.png

解決

TARGETS -> Info -> Supported interface orientations (iPhone) に設定が残っていたので削除。スクリーンショット 2021-10-21 21.34.57.png

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?