LoginSignup
18
16

More than 5 years have passed since last update.

【iPhone6対応】XcodeのAutolayoutサイズクラスについて

Last updated at Posted at 2014-11-28

まずサイズの変更AnyAnyからストーリーボードでAutolayout作成

その後、例えばiPhone6で横画面の時だけ、Viewの位置を変えたい場合は

・まず、Constaintsのすべてを選択した状態にすると、右にプラスの標識がでるそこをクリック
・wRhC【RegularWide CompactHeight】を選択
・その後AnyAnyである一番上のチェックを外し、wRhCのAutolayoutを作成する

するとiPhone6の横画面の時だけ、レイアウトが変更する

同じ要領で色んなサイズに対応したレイアウトを追加していく下の画像がその表

table-01.png

18
16
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
18
16