constraints
TypeScriptconstraintsActiveWhenAwayFrom(edge: NSDirectionalRectEdge): Promise<Array<NSLayoutConstraint>>Swift declarationfunc constraints(activeWhenAwayFrom edge: NSDirectionalRectEdge) -> [NSLayoutConstraint]class · iOS 15.0+ · SDK 27.1
@MainActor class UITrackingLayoutGuideconstraintsActiveWhenAwayFrom(edge: NSDirectionalRectEdge): Promise<Array<NSLayoutConstraint>>Swift declarationfunc constraints(activeWhenAwayFrom edge: NSDirectionalRectEdge) -> [NSLayoutConstraint]constraintsActiveWhenNearEdge(edge: NSDirectionalRectEdge): Promise<Array<NSLayoutConstraint>>Swift declarationfunc constraints(activeWhenNearEdge edge: NSDirectionalRectEdge) -> [NSLayoutConstraint]static init(): Promise<UITrackingLayoutGuide>Swift declarationinit()removeAllTrackedConstraints(): Promise<void>Swift declarationfunc removeAllTrackedConstraints()setConstraintsActiveWhenAwayFrom(trackingConstraints: Array<NSLayoutConstraint>, edge: NSDirectionalRectEdge): Promise<void>Swift declarationfunc setConstraints(_ trackingConstraints: [NSLayoutConstraint], activeWhenAwayFrom edge: NSDirectionalRectEdge)setConstraintsActiveWhenNearEdge(trackingConstraints: Array<NSLayoutConstraint>, edge: NSDirectionalRectEdge): Promise<void>Swift declarationfunc setConstraints(_ trackingConstraints: [NSLayoutConstraint], activeWhenNearEdge edge: NSDirectionalRectEdge)No declarations were skipped in this snapshot.