Returns a predicate that matches workout samples based on the number of flights climbed.
Mac Catalyst 13.0+Beta
The operator to use when comparing the sample to the target number of flights climbed.
A quantity representing the target number of flights climbed.
A predicate that matches workouts based on the number of flights climbed.
This convenience method creates a predicate that compares the total flights climbed during a workout with a target number of flights climbed. The following sample uses the convenience method and a predicate format string to create equivalent predicates.
The key path for the total number of flights of stairs climbed during the workout.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.