Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iosdeveloper/LaunchImageTransition
Fades from your launch image (Default.png) to root view controller. Lets you choose the transition animation and delay.
https://github.com/iosdeveloper/LaunchImageTransition
Last synced: about 1 month ago
JSON representation
Fades from your launch image (Default.png) to root view controller. Lets you choose the transition animation and delay.
- Host: GitHub
- URL: https://github.com/iosdeveloper/LaunchImageTransition
- Owner: iosdeveloper
- License: other
- Created: 2011-07-25T10:07:03.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2011-07-25T10:07:42.000Z (over 13 years ago)
- Last Synced: 2023-11-07T19:24:06.743Z (about 1 year ago)
- Language: Objective-C
- Size: 112 KB
- Stars: 149
- Watchers: 9
- Forks: 21
- Open Issues: 2
-
Metadata Files:
- Readme: README.txt
- License: LICENSE.txt
Awesome Lists containing this project
- awesome - LaunchImageTransition - Fades from your launch image (Default.png) to root view controller. Lets you choose the transition animation and delay. (etc)
- awesome - LaunchImageTransition - Fades from your launch image (Default.png) to root view controller. Lets you choose the transition animation and delay. (etc)
README
Just copy both LaunchImageTransition.h and LaunchImageTransition.m to your project.
Don't forget to #import LaunchImageTransition.h in your app delegate.
Replace
self.window.rootViewController = self.viewController;
with
self.window.rootViewController = [[[LaunchImageTransition alloc] initWithViewController:self.viewController animation:UIModalTransitionStyleCrossDissolve delay:1.0] autorelease];Animation has to be one of the UIModalTransitionStyles, Delay is optional.
Please take a look at the project for an example implementation.