How to fix “Scrollable Content Size Ambiguity” in Xcode 11 (iOS 12, iOS 13) using Auto Layout

后端 未结 8 1915
独厮守ぢ
独厮守ぢ 2020-12-23 15:49

When using Auto Layout, I am unable to set up a simple UIScrollView in my view controller in Xcode 11 beta. I know that I must constrain the scroll view to the edges, and th

8条回答
  •  粉色の甜心
    2020-12-23 16:49

    For me, initially the Content Layout Guides is in disabled state by default in ScrollView. So I just enabled and disabled the Content Layout Guides then the error disappeared automatically.

提交回复
热议问题