AT
Size: a a a
AT
🅰Б
S
YS
A
YS
VS
ЕМ
ЕМ
ЕМ
ET
UIViewController {
func alert(message: String, title: String = "") {
let alertController = UIAlertController(title: title, message: message, preferredStyle: .alert)
let OKAction = UIAlertAction(title: "OK", style: .default, handler:
nil)
alertController.addAction(OKAction)
present(alertController, animated:
true)
}
}
А
ET
А
ET
A
ET
RD
UIViewController {
func alert(message: String, title: String = "") {
let alertController = UIAlertController(title: title, message: message, preferredStyle: .alert)
let OKAction = UIAlertAction(title: "OK", style: .default, handler:
nil)
alertController.addAction(OKAction)
present(alertController, animated:
true)
}
}
AT
UIViewController {
func alert(message: String, title: String = "") {
let alertController = UIAlertController(title: title, message: message, preferredStyle: .alert)
let OKAction = UIAlertAction(title: "OK", style: .default, handler:
nil)
alertController.addAction(OKAction)
present(alertController, animated:
true)
}
}
AT
UIViewController {
func alert(message: String, title: String = "") {
let alertController = UIAlertController(title: title, message: message, preferredStyle: .alert)
let OKAction = UIAlertAction(title: "OK", style: .default, handler:
nil)
alertController.addAction(OKAction)
present(alertController, animated:
true)
}
}