UIDocument.CreationIntent
An app intent that creates new documents for your app.
Declaration
struct CreationIntentMentioned in
Overview
UIKit provides a default intent. You can extend this structure to provide additional intents for your app.
// Extend the creation intent enumeration to add custom options for document creation.
extension UIDocument.CreationIntent {
static let template = UIDocument.CreationIntent("template")
}For more information, see Customizing a document-based app’s launch experience.