Ios Create Uialertviewcontroller Programmatically

[Solved] Ios Create Uialertviewcontroller Programmatically | Swift - Code Explorer | yomemimo.com
Question : IOS create UIAlertViewController programmatically

Answered by : mobile-star

 let alertController = UIAlertController(title: "Some Error", message: "Pleas confirm?", preferredStyle: .alert) let defaultAction = UIAlertAction(title: "OK", style: .default, handler: nil) alertController.addAction(defaultAction) self?.present(alertController, animated: true, completion: nil)

Source : | Last Update : Wed, 01 Apr 20

Answers related to ios create uialertviewcontroller programmatically

Code Explorer Popular Question For Swift