AutoLayout

AutoLayout1

AutoLayoutのポイント ・Constraintsを設定する前に、だいたいの大きさや位置はpreviewで設定しておく。そうしないと、Constraints変になる ①全画面にimageViewを表示する UIImageViewを選択した状態で、add new constraintsを選択する。 Marginを上下左右0…