Preventing ambiguous layout
suggest changeA frequent question about StackViews inside Scrollviews comes from ambiguous with/heigh alerts on interface builder. As this answer explained, it is necessary to:
- Add in the UIScrollView a UIView (the contentScrollView);
- In this contentScrollView, set top, bottom, left and right margins to 0
- Set also align center horizontally and vertically;
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents