hil,
can someone tell me how i can scale an UIButton on touch? the button should scale up like 10%.
thanks in advance!
hil,
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];