Contents

UIPreviewTarget

An object that specifies the container view to use for animations.

Declaration

@MainActor class UIPreviewTarget

Overview

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.

Topics

Creating a preview target object

Getting the target attributes

See Also

Contextual menus