Auto Detection Limitations Not Working with iPhone 6 and 6 Plus

My application correctly displays views on the iPhone 5, but on 6 and 6 Plus, the views do not fill the screen horizontally. I tried to add auto-compositions through the Storyboard, but they have no meaning.

Below are the ones that I have in the Storyboard for the blue view (and subspecies), and a screenshot of the application for Plus.

enter image description here

enter image description here

+6
source share
1 answer

I have already encountered this problem. This is because of the fields. You just need to uncheck the Constraint checkbox with the field in Interface Builder.

enter image description here

And you should also check directly for the restriction (click on it). enter image description here

+11
source

Source: https://habr.com/ru/post/981394/


All Articles