UITrackingLayoutGuide
A layout guide that automatically activates and deactivates layout constraints depending on its proximity to edges.
Declaration
@MainActor class UITrackingLayoutGuideTopics
Configuring automatic constraint activation
setConstraints(_:activeWhenNearEdge:)setConstraints(_:activeWhenAwayFrom:)constraints(activeWhenNearEdge:)constraints(activeWhenAwayFrom:)