Skip to content

Instantly share code, notes, and snippets.

@chirag04
Forked from janicduplessis/rnsplash.m
Created October 20, 2016 20:40
Show Gist options
  • Save chirag04/9cb58e1c5ad61e7450915dc4ab201f2e to your computer and use it in GitHub Desktop.
Save chirag04/9cb58e1c5ad61e7450915dc4ab201f2e 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