Contents

anchorAttribute(for:)

Returns the part of the window that stays stationary during constraint-based layout.

Declaration

func anchorAttribute(for orientation: NSLayoutConstraint.Orientation) -> NSLayoutConstraint.Attribute

Parameters

  • orientation:

    The attribute for orientation. Orientationspecifies the possible values.

Return Value

Returns the layout attribute.

See Also

Constraint-Based Layouts