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 5 years have passed since last update.

x-codeでiOSアプリを横画面対応させる

0
Posted at

主旨

iOSの実機を横向きにしたときに画面表示をその向きに対応させるための設定方法。
3つ設定する場所があります。

1. General > Device Orientation

今回対応させたい向きにチェックを入れます。
スクリーンショット 2020-03-18 23.53.11.png

2. Info > Custom iOS Target Properties

+ボタンを押し、Supported interface orientationsの項目に今回対応させたい向きを入力します。
スクリーンショット 2020-03-18 23.53.24.png

3. 実機の向き固定の解除

実機の画面固定項目の解除も忘れずに
IMG_2022.jpg

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?