init(url:)
Initializes a PDFDocument object with the contents at the specified URL (if the URL is invalid, this method returns NULL).
Declaration
init?(url: URL)Return Value
A PDFDocument instance initialized with the data at the passed-in URL or NULL if the object could not be initialized or if the URL is invalid.