Reputation: 2042
I have the following setup, which I can't get properly to work with auto-layout:
Scroll View, which should take the whole screen
|_ Stack View, which should take the whole size of the Scroll View
|_ View 1 with a predefined height of 200
|_ View 2 with a flexible height defined by content, but minimum 300
|_ View 3 with a predefined height of 500
I tried the following yet:
And I get:
Upvotes: 0
Views: 1448
Reputation:
Change the top, bottom, leading and trailing alignment to SafeArea
Because content view always inside the SafeArea.
Upvotes: 1