One Logo Pool Ball
UIKit · IOS API REFERENCE

UITrackingLayoutGuide

class · iOS 15.0+ · SDK 27.1

@MainActor class UITrackingLayoutGuide

Members (6)

method · iOS 15.0+

constraints

TypeScript
constraintsActiveWhenAwayFrom(edge: NSDirectionalRectEdge): Promise<Array<NSLayoutConstraint>>
Swift declaration
func constraints(activeWhenAwayFrom edge: NSDirectionalRectEdge) -> [NSLayoutConstraint]
method · iOS 15.0+

constraints

TypeScript
constraintsActiveWhenNearEdge(edge: NSDirectionalRectEdge): Promise<Array<NSLayoutConstraint>>
Swift declaration
func constraints(activeWhenNearEdge edge: NSDirectionalRectEdge) -> [NSLayoutConstraint]
init

init

TypeScript
static init(): Promise<UITrackingLayoutGuide>
Swift declaration
init()
method · iOS 15.0+

removeAllTrackedConstraints

TypeScript
removeAllTrackedConstraints(): Promise<void>
Swift declaration
func removeAllTrackedConstraints()
method · iOS 15.0+

setConstraints

TypeScript
setConstraintsActiveWhenAwayFrom(trackingConstraints: Array<NSLayoutConstraint>, edge: NSDirectionalRectEdge): Promise<void>
Swift declaration
func setConstraints(_ trackingConstraints: [NSLayoutConstraint], activeWhenAwayFrom edge: NSDirectionalRectEdge)
method · iOS 15.0+

setConstraints

TypeScript
setConstraintsActiveWhenNearEdge(trackingConstraints: Array<NSLayoutConstraint>, edge: NSDirectionalRectEdge): Promise<void>
Swift declaration
func setConstraints(_ trackingConstraints: [NSLayoutConstraint], activeWhenNearEdge edge: NSDirectionalRectEdge)

Skipped declarations

No declarations were skipped in this snapshot.

All UIKit types →