2010-05-17 95 views

回答

4

設置frame

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