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)