Keep the Stackview’s content aspect ratio while limiting Stackview’s height
I want to show a YouTube video cover (with an aspect ratio of 16:9) in the center of the top half of the screen with respect to the device’s orientation. How can I achieve it in the Xcode storyboard?