ios – HealthKit does not show exercise occasion names
[ad_1] I need to write information to AppleHealth from my health app. So I create an HKWorkout pattern, and add exercise occasions there (e.g. Squat, Assisted dip, Barbell Curl). Right here is the best way I create HKWorkoutEvent array var workoutEvents = [HKWorkoutEvent]() var metadata: [String: Any] = [:] workoutEvents = exercise.workoutExercises.map { metadata[HKMetadataKeyWorkoutBrandName] =…