rcerrejon
4/7/2017 - 8:33 AM

Alert View with Ok Button

Alert View with Ok Button

let alert = UIAlertController(title: "Error", message: "Please, fill the Form", preferredStyle: .alert)
alert.addAction(UIAlertAction(title: "Ok", style: .default))
self.present(alert, animated: true, completion: nil)