<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UISheetPresentationController/largestUndimmedDetentIdentifier",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UISheetPresentationController(py)largestUndimmedDetentIdentifier"
  },
  "title" : "largestUndimmedDetentIdentifier"
}
-->

# largestUndimmedDetentIdentifier

The largest detent that doesn’t dim the view underneath the sheet.

```
var largestUndimmedDetentIdentifier: UISheetPresentationController.Detent.Identifier? { get set }
```

## Discussion

The default value is `nil`, which means the system adds a noninteractive dimming view underneath the sheet at all detents. Set this property to only add the dimming view at detents larger than the detent you specify. For example, set this property to [`medium`](/documentation/UIKit/UISheetPresentationController/Detent/Identifier-swift.struct/medium) to add the dimming view at the [`large`](/documentation/UIKit/UISheetPresentationController/Detent/Identifier-swift.struct/large) detent.

Without a dimming view, the undimmed area around the sheet responds to user interaction, allowing for a nonmodal experience. You can use this behavior for sheets with interactive content underneath them.

---

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)