Hey, so in my application I have a UISegmentedControl (w/ 3 segments) representing my app's "Terms And Conditions." I would like to have an alertview appear the first time the "Log In" button is selected, and have it appear each time until one of the Alert buttons ("I Agree") is selected from it.
Questions:
A) I know I need to use NSUserDefaults, but I don't know how to do this for a specific button in an alertview.
B) I would like the other buttons from the alert to send the user to the specific section of the Terms & Conditions. I have it set up so they each call the view with the Terms & Conditions and then call the specific segment, but my UIViews identified in the UISegmentedControl class are not declared in this class. How do I declare each of the three UIViews? - I know it's a simple question, but I am blanking out... And yes, I have imported the class. Thanks in advance for both/either of the answers.
EDIT:I do know how to use an alertview, and I already have one in the app. I just don't know how to use NSUserDefaults to stop it's appearing after "I Agree" is click once, and I can't remember how to declare the views in other classes.
Questions:
A) I know I need to use NSUserDefaults, but I don't know how to do this for a specific button in an alertview.
B) I would like the other buttons from the alert to send the user to the specific section of the Terms & Conditions. I have it set up so they each call the view with the Terms & Conditions and then call the specific segment, but my UIViews identified in the UISegmentedControl class are not declared in this class. How do I declare each of the three UIViews? - I know it's a simple question, but I am blanking out... And yes, I have imported the class. Thanks in advance for both/either of the answers.
EDIT:I do know how to use an alertview, and I already have one in the app. I just don't know how to use NSUserDefaults to stop it's appearing after "I Agree" is click once, and I can't remember how to declare the views in other classes.