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
- Add hidden elements to
LaunchScreen.xib
- Create
LaunchScreenViewController
subclass - Add controller subclass to storyboard
- 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];
});
}
- Add custom animations to your controller subclass
Contribute
You are welcome to fork, PR, create issues ...