Skip to content

Instantly share code, notes, and snippets.

@aainaj
Last active January 30, 2018 16:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aainaj/d912542e9d9c15c7ab93b2b797545b0c to your computer and use it in GitHub Desktop.
Save aainaj/d912542e9d9c15c7ab93b2b797545b0c to your computer and use it in GitHub Desktop.
Additional Safe Area Insets
override var additionalSafeAreaInsets: UIEdgeInsets {
set {
super.additionalSafeAreaInsets = UIEdgeInsetsMake(10.0, 50.0, 10.0, 50.0)
}
get {
return UIEdgeInsetsMake(10.0, 50.0, 10.0, 50.0)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment