---
title: allowsDocumentCreation
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uidocumentbrowserviewcontroller/allowsdocumentcreation
---

# allowsDocumentCreation

A Boolean value that determines whether the document browser can create new documents.

## Declaration

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

## Mentioned in

Customizing the document browser

## Discussion

Discussion The browser creates new documents when the user taps the Add (+) button in the navigation bar. The Add button is enabled only if both the allowsDocumentCreation property is set to true, and the browser delegate implements the documentBrowser(_:didRequestDocumentCreationWithHandler:) method. By default, this property is set to true.

## See Also

### Configuring a document browser

- [allowsPickingMultipleItems](uikit/uidocumentbrowserviewcontroller/allowspickingmultipleitems.md)
- [revealDocument(at:importIfNeeded:completion:)](uikit/uidocumentbrowserviewcontroller/revealdocument(at:importifneeded:completion:).md)
- [contentTypesForRecentDocuments](uikit/uidocumentbrowserviewcontroller/contenttypesforrecentdocuments.md)
