Just set a limit for the top view.
In the Document Structure storyboard, drag a control from the top view to the stack view and select Equal heights . This will make their heights equal. Now go to the Size Inspector and you will see a restriction. Double-click on it and set the multiplier to 0.3. Then refresh the frames.
If the bottom view is not automatically changed or it gives you a message that you need a height limit, just repeat this process, but now set the multiplier to 0.7.
source share