Instance Method

previewInteractionDidCancel:

Informs the delegate that the specified preview interaction was canceled.

Required.

Declaration

- (void)previewInteractionDidCancel:(UIPreviewInteraction *)previewInteraction;

Parameters

previewInteraction

The preview interaction associated with the current user input

Discussion

This method is called when the preview interaction is canceled, either programmatically via the cancelInteraction method on UIPreviewInteraction, or by interrupting the preview interaction before the commit phase is complete.

See Also

Preview Interaction Delegate Methods

- previewInteractionShouldBegin:

Asks the delegate whether a preview interaction is allowed to begin.

- previewInteraction:didUpdatePreviewTransition:ended:

Informs the delegate of the progress through the preview phase of the preview interaction.

Required.

- previewInteraction:didUpdateCommitTransition:ended:

Informs the delegate of the preview interaction's progress through the commit phase.