presentationTransitionDidEnd(_:)
Notifies the presentation controller that the presentation animations finished.
Declaration
func presentationTransitionDidEnd(_ completed: Bool)Parameters
Discussion
The default implementation of this method does nothing. Subclasses can override this method and use it to perform any required cleanup. For example, if the completed parameter is false, you would use this method to remove your presentation’s custom views from the view hierarchy.
For an example of how to implement this method, see Add custom views to a presentation.