Created
December 19, 2012 07:12
-
-
Save yuanmai/4335012 to your computer and use it in GitHub Desktop.
iOS home screen fade in
This file contains hidden or 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
| _coverImage = [UIImage imageNamed:@"Default.png"]; | |
| } | |
| [self.view addSubview:_coverImage]; | |
| [UIView beginAnimations:@"FadeOutCover" context:nil]; | |
| [UIView setAnimationDuration:0.5f]; | |
| [UIView setAnimationDelegate:self]; | |
| [UIView setAnimationDidStopSelector:@selector(removeAndDeleteCover)]; | |
| [_coverImage setAlpha:0.0f]; | |
| [UIView commitAnimations]; | |
| [_coverImage removeFromSuperview]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment