Warning in xcode constraints

0

I have a Button and two View inside a table (UITableView) everything is correct in all sizes of devices except that when I change the size of the device it shows me a warning of "Misplaced View" click on the UPDATE FRAMES button disappears, but device size change, returns.

It's just a warning to update the frames or I'm facing an error.

I appreciate that you could clarify that topic.

    
asked by Mario Burga 18.03.2018 в 02:57
source

1 answer

0

It's just a warning so you know you're not going to see exactly how you have it on the storyboard.

By clicking on that button, Xcode recalculates the size of the views adapting it to the new selected device.

In other words, it is not a warning that will then cause you problems. Your autolayout is well configured, and when you start the application the layout will be calculated based on the constraints you have added, for each device.

    
answered by 18.03.2018 / 11:13
source