Instance Method

setAnchorAttribute:forOrientation:

Sets which part of the window stays stationary during constrain based layout.

Declaration

- (void)setAnchorAttribute:(NSLayoutAttribute)attr forOrientation:(NSLayoutConstraintOrientation)orientation;

Parameters

attr

The layout attribute. The possible values are specified in NSLayoutAttribute.

orientation

The window drag orientation. The possible values are specified in NSLayoutConstraintOrientation.

See Also

Constraint-Based Layouts

- anchorAttributeForOrientation:

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