<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UISheetPresentationController/Detent/Identifier-swift.struct",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@T@UISheetPresentationControllerDetentIdentifier"
  },
  "title" : "UISheetPresentationController.Detent.Identifier"
}
-->

# UISheetPresentationController.Detent.Identifier

Constants that identify system detent sizes.

```
struct Identifier
```

## Topics

### Identifying detent size

[`static let large: UISheetPresentationController.Detent.Identifier`](/documentation/UIKit/UISheetPresentationController/Detent/Identifier-swift.struct/large)

The identifier for the system’s large detent.

[`static let medium: UISheetPresentationController.Detent.Identifier`](/documentation/UIKit/UISheetPresentationController/Detent/Identifier-swift.struct/medium)

The identifier for the system’s medium detent.

### Creating a detent identifier

[`init(String)`](/documentation/UIKit/UISheetPresentationController/Detent/Identifier-swift.struct/init(_:))

Creates a detent identifier.

[`init(rawValue: String)`](/documentation/UIKit/UISheetPresentationController/Detent/Identifier-swift.struct/init(rawValue:))

Creates a detent identifier with the specified raw value.

## Relationships

### Conforms To

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)