Answers for "Alert completion"

1

IOS create UIAlertViewController programmatically

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)
Posted by: Guest on March-25-2020

Code answers related to "Swift"

Browse Popular Code Answers by Language