user6520705
user6520705

Reputation: 705

Disable iPhone X Constraints

Is there anyway to get the black areas back on the top and bottom of the iPhone x constraints. I want to push an update out but havent fully fixed all the iphone X constraints. I would like to revert it back to just having the black area on top and bottom so that at least everything will look normal for now. Does anyone know how to do this ( I think when I updated xcode it got rid of it on its own)

Upvotes: 1

Views: 311

Answers (2)

Prateek Pande
Prateek Pande

Reputation: 505

Remove the safe area insets, you might have added. Also, resize your UIView with respect to Layout Anchors, used pre ios 11.

Upvotes: 0

Brian
Brian

Reputation: 15706

If you added an iPhone X-sized launch image, try removing it. My app had the black bars on the top and bottom until I added that launch image.

Upvotes: 2

Related Questions