Contents

UIDropOperation.move

A drop operation type specifying that the data represented by the drag items should be moved, not copied.

Declaration

case move

Discussion

You may use this operation only if the drop session’s allowsMoveOperation property is true; otherwise, it’s treated as a UIDropOperation.cancel operation. A move operation is allowed only within same app. Data shared with another app must be copied.

The system gives no special meaning to this operation. The UIDragInteractionDelegate object and the UIDropInteractionDelegate object must cooperate to produce the correct move results. For instance, the drop interaction delegate might insert the data in a new location while the drag interaction delegate removes the data from the old location.

See Also

Drop operation types