---
title: dragItemsProvider
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uidocumentproperties/dragitemsprovider
---

# dragItemsProvider

A closure that provides drag items that represent the document.

## Declaration

```swift
var dragItemsProvider: ((any UIDragSession) -> [UIDragItem])? { get set }
```

## Discussion

Discussion To support drag and drop, assign a closure that returns an array of drag items that represent the document contents. When you set this property, a person can drag and drop the document from the navigation item’s title menu.
