Instance Method

anchorAttributeForOrientation:

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

Declaration

- (NSLayoutAttribute)anchorAttributeForOrientation:(NSLayoutConstraintOrientation)orientation;

Parameters

orientation

The attribute for orientation. The possible values are specified in NSLayoutConstraintOrientation.

Return Value

Returns the layout attribute.

See Also

Constraint-Based Layouts

- setAnchorAttribute:forOrientation:

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