setAnchorAttribute(_:for:)
Sets the part of the window that stays stationary during constraint-based layout.
Declaration
func setAnchorAttribute(_ attr: NSLayoutConstraint.Attribute, for orientation: NSLayoutConstraint.Orientation)Parameters
- attr:
The layout attribute. Attribute specifies the possible values.
- orientation:
The window drag orientation. Orientation specifies the possible values.