Is it possible to program multiple UIAlertViews for one IBAction in Xcode to show at random. For example: I am making an app with multiple questions shown at random, when the submit button is pressed, an alert is shown saying if the answer is correct or not. I want there to be different messages for the alert such as one time it shows one message, then the next time it shows a different message at random. How would I program this?
Is it possible to program multiple UIAlertViews for one IBAction in Xcode to show
Share
In your .h:
In your .m
When you need an alert: