Can someone tell me how I can scale an UIButton
on touch? The button should scale up like 10%.
Thanks in advance!
Call
button.transform = CGAffineTransformMakeScale(1.1,1.1);
In button pressed handler.
Or if you want to scale with animation:
[UIView beginAnimations:@"ScaleButton" context:NULL];
[UIView setAnimationDuration: 0.5f];
button.transform = CGAffineTransformMakeScale(1.1,1.1);
[UIView commitAnimations];