Notifies the presentation controller that the presentation animations finished.
- iOS 8.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
YESif the animations completed and the presented view controller is now visible or
NOif the animations were canceled and the presenting view controller is still visible.
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
NO, 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 Adding Custom Views to a Presentation.