Enumeration Case

CLActivityType.fitness

The location manager is being used to track fitness activities such as walking, running, cycling, and so on.

Declaration

case fitness = 3

Discussion

This activity might cause location updates to be paused only when the user does not move a significant distance over a period of time.

When activityType is set to CLActivityType.fitness, indoor positioning is disabled.

Beta Software

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.

Learn more about using Apple's beta software