开发者

If Condition Is Met, Move To Different View...

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜