Saturday 15 September 2012

ios - Fastest way to direct users to different view controllers at the start of an app -



ios - Fastest way to direct users to different view controllers at the start of an app -

the user opens app a short server check going on see if user has account if user has business relationship go vc1 if user doesn't have business relationship go vc2

where , how fastest way implement within project? (fastest: loading time, not development time)

any examples appreciated.

you can write downwards code straight in appdelegate method:

- (bool)application:(uiapplication *)application didfinishlaunchingwithoptions:(nsdictionary *)launchoptions

or:

func application(application: uiapplication, didfinishlaunchingwithoptions launchoptions: [nsobject: anyobject]?) -> bool {

ios uiviewcontroller

No comments:

Post a Comment