Skip to content

Instantly share code, notes, and snippets.

@janicduplessis
Created June 13, 2016 04:58
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save janicduplessis/3e77a9796d5794d2d92e63cd24e13e96 to your computer and use it in GitHub Desktop.
Save janicduplessis/3e77a9796d5794d2d92e63cd24e13e96 to your computer and use it in GitHub Desktop.
NSArray *splashXibViews = [[NSBundle mainBundle] loadNibNamed:@"LaunchScreen" owner:self options:nil];
UIView *splash = [splashXibViews objectAtIndex:0];
splash.frame = rootView.frame;
rootView.loadingView = splash;
rootView.loadingViewFadeDelay = 0.25;
rootView.loadingViewFadeDuration = 0.3;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment