Reputation: 560
I'm working on a project where I want the UIButton
to span across the width of the screen.
I've configured the constraints like this:
This works perfectly on all iOS devices except the iPhone 6 Plus. As seen on the image below the iPhone 6 Plus is the only device where it doesn't start from the edges of the screen.
How can I have the UIButton
go from edge to edge on the iPhone 6 Plus too?
Upvotes: 0
Views: 80
Reputation: 23882
Uncheck the Option Constrain to margins
Set left and right margin to 0.
Do as following screenshot.
Upvotes: 1