Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

jackdk

macrumors newbie
Original poster
Aug 3, 2016
1
0
Hello all,

i have been using the following code:
Code:
let alertView:UIAlertView = UIAlertView()

            alertView.title = "Sign in Failed!"

            alertView.message = "Please enter Username and Password"

            alertView.delegate = self

            alertView.addButtonWithTitle("OK")

            alertView.show()

this was for Xcode 6, however 7.3 is now out and it informs me that UIALertview is old and the new updated version is UiAlertController. I'm just not sure how it would fit in and replace within the cod that i put up. any help or advice would be great thx!
 
Last edited by a moderator:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.