Home

lovelejess

25 Nov 2019

iOS - Autolayout

Autlayout

  • need a minimum of two constraints per axis to properly layout a UI element

How to Center UI Element Horizontally & Vertically

Set Constraints with the following:

  • the intrinsic height and width of the view
  • centered horizontally and vertically in the container

Til next time,
lovelejess at 19:16

scribble