Class

UIDropProposal

A configuration for the behavior of a drop interaction, required if a view accepts drop activities.

Declaration

@interface UIDropProposal : NSObject

Overview

If a view’s drop interaction delegate accepts dropped drag items, it must return a drop proposal in its implementation of the dropInteraction:sessionDidUpdate: method.

Topics

Initializing a Drop Proposal

- initWithDropOperation:

Initializes a new drop proposal with a drop operation type.

operation

The drop operation that the drop interaction proposes to perform.

Configuring a Drop Proposal

precise

A Boolean value that proposes that the drop interaction define the drop location precisely, such as at a specific point within existing text.

prefersFullSizePreview

A Boolean value that indicates that the drag item preview should be shown at its full, original size.

Relationships

Inherits From

Conforms To

See Also

Drop Destinations

UIDropSession

The interface for querying a drop session about its state and associated drag items.

UIDropOperation

Operation types that determine how a drag and drop activity resolves when the user drops a drag item.

UIDropSessionProgressIndicatorStyle

The drop-progress indicator styles for the drop session, used while data is moving from the source to the destination.