Initializes a PDFDocument
object with the contents at the specified URL (if the URL is invalid, this method returns NULL
).
SDKs
- iOS 11.0+
- macOS 10.4+
- Mac Catalyst 13.0+
Framework
- PDFKit
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.