---
title: CMWaterSubmersionMeasurement.DepthState.approachingMaxDepth
framework: coremotion
role: symbol
role_heading: Case
path: coremotion/cmwatersubmersionmeasurement/depthstate/approachingmaxdepth
---

# CMWaterSubmersionMeasurement.DepthState.approachingMaxDepth

The device is approaching the maximum safe diving depth.

## Declaration

```swift
case approachingMaxDepth
```

## Discussion

Discussion The system sets the maximum depth based on the entitlement that your app uses, as shown in this table:  |   |

## See Also

### Depth states

- [CMWaterSubmersionMeasurement.DepthState.notSubmerged](coremotion/cmwatersubmersionmeasurement/depthstate/notsubmerged.md)
- [CMWaterSubmersionMeasurement.DepthState.submergedShallow](coremotion/cmwatersubmersionmeasurement/depthstate/submergedshallow.md)
- [CMWaterSubmersionMeasurement.DepthState.submergedDeep](coremotion/cmwatersubmersionmeasurement/depthstate/submergeddeep.md)
- [CMWaterSubmersionMeasurement.DepthState.pastMaxDepth](coremotion/cmwatersubmersionmeasurement/depthstate/pastmaxdepth.md)
- [CMWaterSubmersionMeasurement.DepthState.sensorDepthError](coremotion/cmwatersubmersionmeasurement/depthstate/sensordeptherror.md)
- [CMWaterSubmersionMeasurement.DepthState.unknown](coremotion/cmwatersubmersionmeasurement/depthstate/unknown.md)
