Button width, height

What's the best way to resize the UIButton at runtime? Width? Height?

+2


a source to share


1 answer


Install frame

.



CGPoint origin = button.frame.origin;
button.frame = CGRectMake( origin.x, origin.y, newWidth, newHeight );

      

+4


a source







All Articles