Contents

CLActivityType.fitness

The value that indicates positioning during dedicated fitness sessions, such as walking workouts, running workouts, cycling workouts, and so on.

Declaration

case fitness

Discussion

For other positioning sessions that aren’t workouts, use CLActivityType.otherNavigation or CLActivityType.other. This activity might cause the system to pause location updates when the user doesn’t move a significant distance over a period of time.

When activityType is CLActivityType.fitness, the system disables indoor positioning.

See Also

Activity types