---
title: allowsDirectories
framework: webkit
role: symbol
role_heading: Instance Property
path: webkit/wkopenpanelparameters/allowsdirectories
---

# allowsDirectories

A Boolean value that indicates whether the file upload control supports the selection of directories.

## Declaration

```swift
var allowsDirectories: Bool { get }
```

## See Also

### Configuring the panel parameters

- [allowsMultipleSelection](webkit/wkopenpanelparameters/allowsmultipleselection.md)
