Creates a predicate that evaluates whether a characteristic value relates to the specified value.
- iOS 9.0+
- tvOS 10.0+
- watchOS 2.0+
The characteristic that is part of the predicate.
The relationship between the characteristic and the target value. Valid values can be Less Than, Greater Than, Less Than or Equal, Greater Than or Equal, Equal, or Not Equal. All other values cause an exception to be thrown.
The value of the characteristic to compare when evaluating the predicate.
A predicate object that represents a condition to evaluate before executing the scene.