Xcode how to make flexible constraint in Autolayout
问题 hello everyone I've get stuck in Auto-layout issues I have login storyboard that contains three Items Image-view , Stack-view , Button like the first image below I've tried to add constraints using two ways: The first way I've added "pinned" constraint to Image-view as shown in Photo1 below but when I've changed to landscape the Image was disappeared as the second photo below. please notice I haven't got any warnings The second Way I've tried by wrap the Image-view using view then i added