Returns a constraint that defines the maximum size for the anchor’s size attribute.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 9.0+
A constant representing the maximum size of the attribute associated with this dimension anchor.
NSLayout object that defines a maximum size for the attribute associated with this dimension anchor.
This method defines the relationship
first attribute <= c. Where
first attribute is the layout attribute represented by the anchor receiving this method call.
The constraints produced by the following two examples are identical.