Type Alias

UILayoutPriority

The layout priority is used to indicate to the constraint-based layout system which constraints are more important, allowing the system to make appropriate tradeoffs when satisfying the constraints of the system as a whole.

Declaration

typedef float UILayoutPriority;

Topics

Type Properties

UILayoutPriorityRequired

A required constraint.

UILayoutPriorityDefaultHigh

The priority level with which a button resists compressing its content.

UILayoutPriorityDefaultLow

The priority level at which a button hugs its contents horizontally.

UILayoutPriorityFittingSizeLevel

The priority level with which the view wants to conform to the target size in that computation.

See Also

Getting the Layout Priority

priority

The priority of the constraint.

UILayoutPriorityRequired

A required constraint.

UILayoutPriorityDefaultHigh

The priority level with which a button resists compressing its content.

UILayoutPriorityDefaultLow

The priority level at which a button hugs its contents horizontally.

UILayoutPriorityFittingSizeLevel

The priority level with which the view wants to conform to the target size in that computation.

NSLayoutPriority

Layout priority used to indicate the relative importance of constraints, allowing Auto Layout to make appropriate tradeoffs when satisfying the constraints of the system as a whole.