Created
January 14, 2011 17:22
-
-
Save darkseed/779915 to your computer and use it in GitHub Desktop.
Fadeout default.png
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void)hideLoadingDefaultViewDidStop | |
{ | |
loadingDefaultView.hidden = YES; | |
} | |
- (void)viewDidAppear:(BOOL)animated | |
{ | |
if (!loadingDefaultView.hidden) | |
{ | |
[UIView beginAnimations:@"Hide loading screen" context:nil]; | |
[UIView setAnimationDuration:fadeDuration]; | |
[UIView setAnimationDelegate:self]; | |
[UIView setAnimationDidStopSelector:@selector(hideLoadingDefaultViewDidStop)]; | |
loadingDefaultView.alpha = 0.0f; | |
[UIView commitAnimations]; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment