Last active
January 14, 2018 07:49
-
-
Save hsleedevelop/3af3745300f7cc5a7960d30503b8d006 to your computer and use it in GitHub Desktop.
safeAreaInsets get
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if #available(iOS 11.0, *) { | |
let bottomPadding = view.safeAreaInsets.bottom | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment