Contents

allowsDocumentCreation

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

Declaration

var allowsDocumentCreation: Bool { get set }

Mentioned in

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