public interface UIPreviewInteractionDelegate
| Modifier and Type | Method and Description |
|---|---|
void |
previewInteractionDidCancel(UIPreviewInteraction previewInteraction) |
default void |
previewInteractionDidUpdateCommitTransitionEnded(UIPreviewInteraction previewInteraction,
double transitionProgress,
boolean ended)
If implemented, a preview interaction will also trigger haptic feedback when detecting a commit (pop).
|
void |
previewInteractionDidUpdatePreviewTransitionEnded(UIPreviewInteraction previewInteraction,
double transitionProgress,
boolean ended)
transitionProgress ranges from 0 to 1
|
default boolean |
previewInteractionShouldBegin(UIPreviewInteraction previewInteraction) |
default void previewInteractionDidUpdateCommitTransitionEnded(UIPreviewInteraction previewInteraction, double transitionProgress, boolean ended)
void previewInteractionDidUpdatePreviewTransitionEnded(UIPreviewInteraction previewInteraction, double transitionProgress, boolean ended)
void previewInteractionDidCancel(UIPreviewInteraction previewInteraction)
default boolean previewInteractionShouldBegin(UIPreviewInteraction previewInteraction)