The relation between the first attribute and the modified second attribute in a constraint.
SDKs
- iOS 6.0+
- macOS 10.7+
- Mac Catalyst 13.0+
- tvOS 9.0+
Frameworks
- UIKit
- App
Kit
Declaration
enum Relation : Int
The relation between the first attribute and the modified second attribute in a constraint.
SDKs
Frameworks
enum Relation : Int
case less Than Or Equal
The constraint requires the first attribute to be less than or equal to the modified second attribute.
case equal
The constraint requires the first attribute to be exactly equal to the modified second attribute.
case greater Than Or Equal
The constraint requires the first attribute to be greater than or equal to the modified second attribute.