Return to Snippet

Revision: 41115
at February 12, 2011 05:20 by BenClayton

Initial Code
button.alpha = 0.0f;
cancelButton.transform = CGAffineTransformMakeScale(0.1,0.1);
[UIView beginAnimations:@"fadeInNewView" context:NULL];
[UIView setAnimationDuration:1.0];
cancelButton.transform = CGAffineTransformMakeScale(1,1);
cancelButton.alpha = 1.0f;
[UIView commitAnimations];

Initial URL

Initial Description
A nice simple UIView animation that smoothly makes a UIView 'grow' out of the page

Initial Title
iOS / iPhone: Fade and Zoom in UIView / UIButton animation

Initial Tags

Initial Language
Objective C