Guest User

Untitled

a guest
Sep 19th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. let alert = UIAlertController(title: <#title#>, message: <#message#>, preferredStyle: .alert)
  2. alert.addAction(UIAlertAction(title: "", style: .default, handler: { (action) in
  3. alert.dismiss(animated: <#Bool#>, completion: {
  4. <#code#>
  5. })
  6. }))
  7.  
  8. presentViewController(alert, animated: true, completion: nil)
Add Comment
Please, Sign In to add comment