---
title: medium()
framework: uikit
role: symbol
role_heading: Type Method
path: uikit/uisheetpresentationcontroller/detent/medium()
---

# medium()

Creates a system detent for a sheet that’s approximately half the height of the screen, and is inactive in compact height.

## Declaration

```swift
class func medium() -> Self
```

## See Also

### Creating a system detent

- [large()](uikit/uisheetpresentationcontroller/detent/large().md)
