Contents

init(view:)

Initializes a new drag item preview with a view, using the default appearance parameters.

Declaration

convenience init(view: UIView)

Parameters

  • view:

    A Uiview object representing the drag item.

Return Value

A drag preview that is based on the specified view.

Discussion

Use this method to display a drag item preview based on a view that you provide. The preview displays a snapshot of the provided view. Changes to the view don’t appear after the preview is shown, and the preview doesn’t change or move the view.

See Also

Initializing a drag item preview