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

# dismissalTransitionWillBegin()

Notifies the presentation controller that the dismissal animations are about to start.

```
func dismissalTransitionWillBegin()
```

## Discussion

The default implementation of this method does nothing. Subclasses can override this method and use it to configure any animations associated with your presentation’s custom views. To perform your animations, get the transition coordinator of the presented view controller and call its [`animate(alongsideTransition:completion:)`](/documentation/UIKit/UIViewControllerTransitionCoordinator/animate(alongsideTransition:completion:)) or [`animateAlongsideTransition(in:animation:completion:)`](/documentation/UIKit/UIViewControllerTransitionCoordinator/animateAlongsideTransition(in:animation:completion:)) method. Calling those methods ensures that your animations are executed at the same time as any other transition animations.

Do not use this method to remove your views from the view hierarchy. Remove your views in the [`dismissalTransitionDidEnd(_:)`](/documentation/UIKit/UIPresentationController/dismissalTransitionDidEnd(_:)) method instead.

---

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)