---
title: maximumDetentValue
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uisheetpresentationcontrollerdetentresolutioncontext/maximumdetentvalue
---

# maximumDetentValue

The maximum value of a detent.

## Declaration

```swift
var maximumDetentValue: CGFloat { get }
```

## See Also

### Accessing the properties of the context

- [containerTraitCollection](uikit/uisheetpresentationcontrollerdetentresolutioncontext/containertraitcollection.md)
