Returns the priority with which a view resists being made smaller than its intrinsic size.
- macOS 10.7+
The orientation of the dimension of the view that might be reduced.
The priority with which the view should resist being compressed from its intrinsic size in the specified orientation.
The constraint-based layout system uses these priorities when determining the best layout for views that are encountering constraints that would require them to be smaller than their intrinsic size.
Subclasses should not override this method. Instead, custom views should set default values for their content on creation, typically to NSLayoutPriorityDefaultLow or NSLayoutPriorityDefaultHigh.