public interface UIDropSession extends UIDragDropSession, NSProgressReporting
| Modifier and Type | Interface and Description |
|---|---|
static interface |
UIDropSession.Block_loadObjectsOfClassCompletion |
| Modifier and Type | Method and Description |
|---|---|
NSProgress |
loadObjectsOfClassCompletion(NSItemProviderReading aClass,
UIDropSession.Block_loadObjectsOfClassCompletion completion)
A convenience method that can be used only during the UIDropInteractionDelegate's
implementation of `-dropInteraction:performDrop:`.
|
UIDragSession |
localDragSession()
The `UIDragSession` that corresponds to this `UIDropSession`.
|
long |
progressIndicatorStyle()
The kind of progress and cancellation UI that UIKit will display
if handling this session's drop takes a significant amount of time.
|
void |
setProgressIndicatorStyle(long value)
The kind of progress and cancellation UI that UIKit will display
if handling this session's drop takes a significant amount of time.
|
allowsMoveOperation, canLoadObjectsOfClass, hasItemsConformingToTypeIdentifiers, isRestrictedToDraggingApplication, items, locationInViewprogressNSProgress loadObjectsOfClassCompletion(NSItemProviderReading aClass, UIDropSession.Block_loadObjectsOfClassCompletion completion)
UIDragSession localDragSession()
long progressIndicatorStyle()
The default value is UIDropSessionProgressIndicatorStyleDefault, meaning that some progress UI will be shown. If you show your own progress indicator, hide the system progress UI by setting this property to UIDropSessionProgressIndicatorStyleNone.
void setProgressIndicatorStyle(long value)
The default value is UIDropSessionProgressIndicatorStyleDefault, meaning that some progress UI will be shown. If you show your own progress indicator, hide the system progress UI by setting this property to UIDropSessionProgressIndicatorStyleNone.