Making a UIButton a % of the screen size
- Ctrl drag from button to superview and select Equal Widths
Open Size Inspector edit Equal Widths constraint and set multiplier to 0.4. And you will see something like this:
Add missing constraints and update frames.