Help with Xcode 6 to Xcode 7 code

Discussion in 'iOS Programming' started by jackdk, Aug 3, 2016.

  1. jackdk, Aug 3, 2016
    Last edited by a moderator: Aug 3, 2016

    jackdk macrumors newbie

    Aug 3, 2016
    Hello all,

    i have been using the following code:
    let alertView:UIAlertView = UIAlertView()
                alertView.title = "Sign in Failed!"
                alertView.message = "Please enter Username and Password"
                alertView.delegate = self
    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!
  2. PhoneyDeveloper macrumors 68040


    Sep 2, 2008

Share This Page