items
An array of drag items in the drag session or drop session.
Declaration
var items: [UIDragItem] { get }Discussion
The drag item’s NSItemProvider object doesn’t load the data for the item until the drop interaction happens. However, before the interaction happens, you can get the item’s registered type identifiers and metadata. The data is available to you only in the drop interaction delegate’s dropInteraction(_:performDrop:) method.