Water Submersion is a sample watchOS app created with SwiftUI that uses Core Motion and HealthKit Workout to display depth, pressure, and heart rate metrics. It is specifically designed for Watch Ultra, which has a sensor depth gauge for water depth, pressure and temperature.
How to use it
- Launch the app on your Watch Ultra.
- Put on your Watch Ultra and go for a swim or dive and start session.
- The app will start tracking your depth, pressure, and heart rate.
- To view the metrics, tap on the screen.
Reference documentation
This app was created using the following reference documentation:
- Accessing Submersion Data: https://developer.apple.com/documentation/coremotion/accessing_submersion_data
Requirements
- watchOS 9+
- iOS 16+
- Watch Ultra
License
This app is licensed under the MIT License.
Contributions
Contributions are welcome! Please create a pull request to add new features or fix bugs.