Is it possible to present a UIAlertView and not continue executing the rest of the code in that method until the user responds to the alert?
Thanks in advance.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I guess stopping the code you meant was to stop the device to run the next code you have written after the alertview
For that just remove your code after your alertview and put that code in the alertview delegate
Dont forget to include UIAlertViewDelegate in the .h file