Created
April 5, 2011 15:34
-
-
Save olvado/903838 to your computer and use it in GitHub Desktop.
Zoom
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
self.frame = CGRectMake(0.0f, 0.0f, 200.0f, 150.0f); | |
[UIView beginAnimations:@"Zoom" context:NULL]; | |
[UIView setAnimationDuration:0.5]; | |
self.frame = CGRectMake(0.0f, 0.0f, 1024.0f, 768.0f); | |
[UIView commitAnimations]; |
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
self.alpha = 0.0; | |
[UIView beginAnimations:@"Fade-in" context:NULL]; | |
[UIView setAnimationDuration:1.0]; | |
self.alpha = 1.0; | |
[UIView commitAnimations]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment