How can I push to a different view if a condition is met? Basically, I need to go to a different view controllerSetupViewController on the very first load (which is something that is logged in NSUserDefaults).
Thanks
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.
The exact method will depend on whether you’re using IB or building your UI programmatically. Can you give me some implementation details?
If you’re working through IB, you’ll have to make sure the UIWindow.xib doesn’t point to a view controller, and you’ll have to set it on start. Basically, you’re going to set the UIWindow’s rootViewController on start of your app.