How do I collect user info the first time my app launches?
I want to make sure they agree to terms of use – if they disagree, how do I keep them from using app features?
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.
As far as I understand your question; simplest possible way; just check NSUserDefaults if the information you require is saved there.
If it is, great, just start the app.
If it’s not, ask the user to enter the information and accept the agreement. When that’s done, save it in NSUserDefaults so the next time it won’t ask, and start the app.
If the user never agrees, the info is not in NSUserDefaults, so he won’t be able to get past the accept screen, it’ll ask him to accept every time.