Im trying to show a UIAlertView in my swift App
alert = UIAlertView(title: \"\", message: \"bla\", delegate: self, cancelButtonTitle:
This is what I have used to make an alert popup in swift.
let myAlert = UIAlertView(title: "Invalid Login", message: "Please enter valid user name", delegate: nil, cancelButtonTitle: "Try Again") myAlert.show()