---
title: acceptsDraggedFiles
framework: pdfkit
role: symbol
role_heading: Instance Property
path: pdfkit/pdfview/acceptsdraggedfiles
---

# acceptsDraggedFiles

A Boolean value indicating whether you can drag a file into the view.

## Declaration

```swift
var acceptsDraggedFiles: Bool { get set }
```

## See Also

### Dragging in a View

- [allowsDragging](pdfkit/pdfview/allowsdragging.md)
