Contents

openDocument(completionHandler:)

Opens a document in a document view controller from outside the document view controller.

Declaration

func openDocument(completionHandler: @escaping (Bool) -> Void)
func openDocument() async -> Bool

Parameters

  • completionHandler:

    The function that executes after the document view controller opens the document

See Also

Managing the document view