<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>autoLayout on vmac.ch</title><link>https://vmac.ch/tags/autolayout/</link><description>Recent content in autoLayout on vmac.ch</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Sun, 10 Jan 2021 11:58:44 +0100</lastBuildDate><atom:link href="https://vmac.ch/tags/autolayout/index.xml" rel="self" type="application/rss+xml"/><item><title/><link>https://vmac.ch/posts/2021-01-10-feeling-stupid-right-now-just-1610276324/</link><pubDate>Sun, 10 Jan 2021 11:58:44 +0100</pubDate><guid>https://vmac.ch/posts/2021-01-10-feeling-stupid-right-now-just-1610276324/</guid><description>Feeling stupid right now just spend an hour writing down my solution to setup a UIScrollView with content having dynamic content height.
My solution used multiple subclasses and set height constraints manually. The right answer: use the content hugging policy on the child view.</description></item></channel></rss>