anchorAttribute(for:)
Returns the part of the window that stays stationary during constraint-based layout.
Declaration
func anchorAttribute(for orientation: NSLayoutConstraint.Orientation) -> NSLayoutConstraint.AttributeParameters
- orientation:
The attribute for orientation. Orientationspecifies the possible values.
Return Value
Returns the layout attribute.