Xcode 11 設定 auto layout 條件的 scroll view 可以 scroll 了
Xcode 11 的 release note 提到一個很貼心的小功能,一旦我們將 scroll view 的 subview 的 auto layout 條件設定好,讓它能順利推算出 content size 的大小,我們即可在 Interface Builder 的 canvas 裡捲動畫面。
The contents of a UIScrollView are scrollable within the canvas…