write(to:withOptions:)
Writes the document to the specified URL with the specified options.
Declaration
func write(to url: URL, withOptions options: [PDFDocumentWriteOption : Any]? = nil) -> BoolWrites the document to the specified URL with the specified options.
func write(to url: URL, withOptions options: [PDFDocumentWriteOption : Any]? = nil) -> Bool