Instance Method

presentationTransitionDidEnd:

Notifies the presentation controller that the presentation animations finished.

Declaration

- (void)presentationTransitionDidEnd:(BOOL)completed;

Parameters

completed

YES if the animations completed and the presented view controller is now visible or NO if the animations were canceled and the presenting view controller is still visible.

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 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.

See Also

Tracking the Transition’s Start and End

- presentationTransitionWillBegin

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

- dismissalTransitionWillBegin

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

- dismissalTransitionDidEnd:

Notifies the presentation controller that the dismissal animations finished.