let alertVC: UIAlertController = UIAlertController (title: "Alert", message: "YOUR MESSAGE", preferredStyle: .alert)
let okBtn = UIAlertAction.init(title: "Ok", style: .default, handler: { _ in
// Perform whatever you want
})
alertVC.addAction(okBtn)
self.present(alertVC, animated: true, completion: nil)
Comments
Post a Comment