¡@

Home 

2014/10/15 ¤U¤È 10:03:51

iphone Programming Glossary: appstartupviewcontroller

How to present a splash/login view controller using storyboards

http://stackoverflow.com/questions/11697747/how-to-present-a-splash-login-view-controller-using-storyboards

readiness to run the main vc with a boolean something like BOOL readyToRun startupWorkIsDone userIsLoggedIn Create an AppStartupViewController and lay it out in app storyboard. Don't drag any segue's to it and don't make it the staring vc just leave it floating somewhere... the staring vc just leave it floating somewhere. In the vc's attributes inspector in storyboard set it's identifier as AppStartupViewController . In the AppStartupViewController.m when the readyToRun conditions have been met it can dismiss itself self.modalTransitionStyle.. somewhere. In the vc's attributes inspector in storyboard set it's identifier as AppStartupViewController . In the AppStartupViewController.m when the readyToRun conditions have been met it can dismiss itself self.modalTransitionStyle UIModalTransitionStyleCrossDissolve..