/LaunchScreenViewController

iOS View Controller for loading default launch screen in app and maybe to add some animations to it

Primary LanguageObjective-CMIT LicenseMIT

LaunchScreenViewController

iOS View Controller for loading default launch screen in app and maybe to add some animations to it

This library will help you to build launch screens like this for example:

Installation

pod 'LaunchScreenViewController'

Usage

  1. Add hidden elements to LaunchScreen.xib
  2. Create LaunchScreenViewController subclass
  3. Add controller subclass to storyboard
  4. Create modal segue and call it once manually in viewWillAppear:
- (void)viewWillAppear:(BOOL)animated
{
    [super viewWillAppear:animated];
    
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        [self performSegueWithIdentifier:@"segue_screensaver" sender:nil];
    });
}
  1. Add custom animations to your controller subclass

Contribute

You are welcome to fork, PR, create issues ...