retargetedPreview(with:)
Returns a targeted preview object with the same view and parameters, but with a different target container.
Declaration
func retargetedPreview(with newTarget: UIPreviewTarget) -> UITargetedPreviewParameters
- newTarget:
The new target for the existing view.
Return Value
A new targeted preview object containing the specified target and the current view.