UIPreviewTarget
An object that specifies the container view to use for animations.
Declaration
@MainActor class UIPreviewTargetOverview
Create a UIPreviewTarget object when animating views to or from a separate container view. For example, use this method to animate views to or from a different part of your app’s interface.