Im trying to show a UIAlertView in my swift App
alert = UIAlertView(title: \"\",
message: \"bla\",
delegate: self,
cancelButtonTitle:
Even though UIAlertView
is depreciated in iOS8, you can get away with using it but not through it's init function. For example:
var alert = UIAlertView()
alert.title = "Title"
alert.message = "message"
alert.show()
Atleast this is the only way so far I've been able to successfully use an UIAlertView
. I'm unsure on how safe this is though.