Instance Method

retargetedPreviewWithTarget:

Returns a targeted preview object with the same view and parameters, but with a different target container.

Declaration

- (__kindof UITargetedPreview *)retargetedPreviewWithTarget:(__kindof UIPreviewTarget *)newTarget;

Parameters

newTarget

The new target for the existing view.

Return Value

A new targeted preview object containing the specified target and the current view.