Simple Notification Alert for App Use Swift 4
This a simple Notification Alert for Swift 4
@IBAction func yourButton(_ sender: Any) {
let alert = UIAlertController(title: "Empty", message: "Your data is empty, please compete data", preferredStyle: .alert)
alert.addAction(UIAlertAction(title: "Close", style: .default, handler: { (action: UIAlertAction) in
print("OK Cancel")
}))
self.present(alert, animated: true, completion: nil)
}
This my note as my problem and solution @luffyselah
Update Soon
No comments: