init(_:contentType:)
Creates and opens new documents.
Declaration
init(_ label: Text? = nil, contentType: UTType? = nil)Parameters
- label:
A label to use for the button.
- contentType:
An optional content type of the document to create.
Creates and opens new documents.
init(_ label: Text? = nil, contentType: UTType? = nil)A label to use for the button.
An optional content type of the document to create.