Notifies the presentation controller that the dismissal animations are about to start.
- iOS 8.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
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 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
dismissal method instead.