Instance Method

addWorkoutEvents:completion:

Adds a workout event to the builder.

Declaration

- (void)addWorkoutEvents:(NSArray<HKWorkoutEvent *> *)workoutEvents completion:(void (^)(BOOL success, NSError *error))completion;

See Also

Adding Events to the Workout

workoutEvents

The list of events added to the workout.