Wednesday 15 February 2012

How to keep the splash screen until iOS app finished loading data -



How to keep the splash screen until iOS app finished loading data -

my ios app loads info via restkit on startup. takes time main window shows before info loaded. how show splash screen while loading in progress , show main window when info loaded done? can phone call method or generate event when info loaded.

you should create viewcontroller imageview identically splash screen, , in viewdidload() call

self.presentviewcontroller(splashscreenvc, animated: false, completion: nil)

when info loaded dismiss splashscreenvc

self.dismissviewcontrolleranimated(false, completion: nil)

ios

No comments:

Post a Comment