Contents

UIDragPreviewParameters

A set of parameters for adjusting the appearance of a drag item preview or a targeted drag item preview.

Declaration

@MainActor class UIDragPreviewParameters

Overview

You can refine the appearance of a preview by providing additional parameters when creating a UIDragPreview or UITargetedDragPreview object. The parameters specify different visual aspects of the preview, including the background color and the visible area of the view associated with the preview.

See Also

Custom drag item previews