当前位置: 动力学知识库 > 问答 > 编程问答 >

uiscrollview - XCode: Unable to align Stack View and Scroll View

问题描述:

I have embedded a Stack View in a Scroll View. I am struggling to align the tops of two objects (UI displayed below).

You will notice that I have added the constraint

Stack View.top = top

However for some reason there is still a spacer between the top of the Scroll View and the top of the Stack View. I assume that I have set the constraints incorrectly.

Any idea how to remove this?

分享给朋友:
您可能感兴趣的文章:
随机阅读: