Skip to content

Instantly share code, notes, and snippets.

@regularberry
Created February 22, 2019 21:45
Show Gist options
  • Save regularberry/df0209ea627a30758e2cbafeb2264e4f to your computer and use it in GitHub Desktop.
Save regularberry/df0209ea627a30758e2cbafeb2264e4f to your computer and use it in GitHub Desktop.
let alert = UIAlertController(title: "title", message: "message", preferredStyle: .alert)
alert.modalPresentationStyle = .fullScreen
print(alert.modalPresentationStyle.rawValue) // 4 aka ".custom"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment