Initializes a new drag item with a specified item provider.
- iOS 11.0+
- Mac Catalyst 13.0+
An instance of
NSItemconveying the data or file to share during the drag and drop activity.
A drag item initialized with the specified item provider.
NSItem object to create a new drag item. The item provider communicates the data that's shared between processes during the drag and drop activity.