Q:

Safe area resizes itself

I was trying to make a copy of iOS calculator layout, I created a vertical stackView and tried to constraint it to the safe area. 
But instead of resizing my stack view to fit the constraint, it changed the safe area.  How can I make it so that the stack view resizes itself to fit the constraint and not the other way round? 

A:

its bug in xcode, remove all constraints then add from outer view first,it will be fixed

