---
title: HKWorkoutZoneConfiguration.Source.app
framework: healthkit
role: symbol
role_heading: Case
path: healthkit/hkworkoutzoneconfiguration/source-swift.enum/app
---

# HKWorkoutZoneConfiguration.Source.app

A case that indicates an app provided the zones for a specific workout.

## Declaration

```swift
case app
```

## Discussion

Discussion Apps create custom zone configurations by calling init(quantityType:zoneBoundaries:) and applying them to workouts with setCustomZoneConfiguration(_:for:). Custom configurations apply only to the workout in which they’re set, and don’t modify the person’s preferred zones.

## See Also

### Identifying the source

- [HKWorkoutZoneConfiguration.Source.system](healthkit/hkworkoutzoneconfiguration/source-swift.enum/system.md)
- [HKWorkoutZoneConfiguration.Source.user](healthkit/hkworkoutzoneconfiguration/source-swift.enum/user.md)
