Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ScrollView has ambiguous scrollable content height [duplicate]

I am making a very basic UIScrollView test. Here is my setup enter image description here It shows me the following AutoLayout error:

ScrollView has ambiguous scrollable content height 
like image 767
Madu Avatar asked Jun 25 '14 12:06

Madu


1 Answers

You need to ensure you've got a chain of vertical spacing constraints from the top of the scroll view through all your elements to the bottom of the scroll view.

Once you do that, your warning/error should go away.

like image 146
Sandy Chapman Avatar answered Nov 15 '22 21:11

Sandy Chapman