[ad_1]
I’ve a single view on display that’s constrained within the heart x and y positions. It additionally has a side ratio to itself. The issue comes with the following constraints.
In portrait mode (compact width, common peak) it has a proportional width constraint to superview = 0.8 and this constraint is uninstalled in panorama mode.
In panorama mode, it has a proportional width constraint to superview = 0.4 and this constraint is uninstalled in portrait mode.
Within the storyboard when in flip the machine between portrait and panorama there isn’t any drawback and no auto structure points, and the crimson view resizes in keeping with the constraints, however within the simulated machine and in my iPhone once I change it to panorama the view shrinks to zero measurement. I can not determine why that is occurring. Am I lacking one thing? 

[ad_2]
