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 lo开发者_如何学Pythongged in NSUserDefaults).
Thanks
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.
精彩评论