Work with borders:
[self.button setBounds:CGRectMake(0, 0, 400, 400)];
Works with auto layout turned on! As always, make sure your output is properly configured so that you can talk to the button.
You can do this in a car layout. Remove the width and height restrictions and add new ones, but if you do not have a width or height limit on your button (maybe wise), then just set the borders and if you do not need to move your button, it should only work as the automatic layout automatically updates restrictions when changing the borders of buttons.
By the way, you should never touch the button frame unless you use it to place the object manually. Borders for calibration, frame for positioning.
source share