<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIAdaptivePresentationControllerDelegate/presentationControllerShouldDismiss(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(pl)UIAdaptivePresentationControllerDelegate(im)presentationControllerShouldDismiss:"
  },
  "title" : "presentationControllerShouldDismiss(_:)"
}
-->

# presentationControllerShouldDismiss(_:)

Asks the delegate for permission to dismiss the presentation.

```
optional func presentationControllerShouldDismiss(_ presentationController: UIPresentationController) -> Bool
```

## Parameters

`presentationController`

The presentation controller that manages the adaptivity change.

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> to allow the system to dismiss the presentation, <doc://com.apple.documentation/documentation/Swift/false> to refuse the dismissal.

## Discussion

The system may call this method at any time. This method isn’t guaranteed to be followed by a call to [`presentationControllerWillDismiss(_:)`](/documentation/UIKit/UIAdaptivePresentationControllerDelegate/presentationControllerWillDismiss(_:)) or [`presentationControllerDidDismiss(_:)`](/documentation/UIKit/UIAdaptivePresentationControllerDelegate/presentationControllerDidDismiss(_:)). Make sure that your implementation of this method returns quickly.

## See Also

[Disabling the pull-down gesture for a sheet](/documentation/UIKit/disabling-the-pull-down-gesture-for-a-sheet)

Ensure a positive user experience when presenting a view controller as a sheet.



---

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)