Skip to content

Instantly share code, notes, and snippets.

@davut
Created September 27, 2018 18:27
Show Gist options
  • Save davut/aaa941c2b985e7fcd43e227d4a3aeaa4 to your computer and use it in GitHub Desktop.
Save davut/aaa941c2b985e7fcd43e227d4a3aeaa4 to your computer and use it in GitHub Desktop.
let alertController = UIAlertController(title: "Hello!", message: "Wazzup?", preferredStyle: .alert)
let action = UIAlertAction(title: "OK", style: .default, handler: nil)
alertController.addAction(action)
present(alertController, animated: true, completion: nil)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment