Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let alert = UIAlertController(title: <#title#>, message: <#message#>, preferredStyle: .alert)
- alert.addAction(UIAlertAction(title: "", style: .default, handler: { (action) in
- alert.dismiss(animated: <#Bool#>, completion: {
- <#code#>
- })
- }))
- presentViewController(alert, animated: true, completion: nil)
Add Comment
Please, Sign In to add comment