What is the best way to go about changing the dimensions of a UIButton at runtime? Width? Height?
+2
A:
Set the frame
.
CGPoint origin = button.frame.origin;
button.frame = CGRectMake( origin.x, origin.y, newWidth, newHeight );
Jacob Relkin
2010-05-17 01:10:27