---
title: allowsDragging
framework: pdfkit
role: symbol
role_heading: Instance Property
path: pdfkit/pdfview/allowsdragging
---

# allowsDragging

A Boolean value indicating whether the view can accept new PDF documents dragged into it by the user.

## Declaration

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

## See Also

### Dragging in a View

- [acceptsDraggedFiles](pdfkit/pdfview/acceptsdraggedfiles.md)
