Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save denkeni/082e915374f57a847cbec75733a4dc15 to your computer and use it in GitHub Desktop.
Save denkeni/082e915374f57a847cbec75733a4dc15 to your computer and use it in GitHub Desktop.
Auto Layout Programmatically 3-2
let spacer1 = UILayoutGuide()
let spacer2 = UILayoutGuide()
view.addLayoutGuide(spacer1)
view.addLayoutGuide(spacer2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment