Im trying to show a UIAlertView in my swift App
alert = UIAlertView(title: \"\",
message: \"bla\",
delegate: self,
cancelButtonTitle:
I was successfully able to show a UIAlertView using this code:
var alert = UIAlertView()
alert.title = "Title"
alert.message = "Message"
alert.addButtonWithTitle("Understood")
alert.show()
The code "alert.addButtonWithTitle("Understood")" adds a button for the user to push after they have read the error message.
Hope this helps you.