I want to use the Top Layout Guide
in the UIScrollView
through Auto Layout. Without the UIScrollView
Auto Layout works well with Top
While adding spacing constraints, Xcode does not show items which have negative distance with your view. It seems you added a vertical space constraint between UIScrollView
and UIView
. Delete that constraint, move your scroll view to below Top Layout Guide
and add a new vertical space constraint between UIScrollView
and Top Layout Guide
.