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

后端 未结 8 1930
独厮守ぢ
独厮守ぢ 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:42

    After spending a long time on this scrolling issue in Xcode-11. The conclusion on this issue is you have to choose the scrolling option while adding a new constraint.

    You can refer to the following screenshot to resolve your issue.

    These mentioned solutions worked for me.

提交回复
热议问题