Returns an empty PDFSelection
object.
SDKs
- iOS 11.0+
- macOS 10.5+
- Mac Catalyst 13.0+
Framework
- PDFKit
Declaration
init(document: PDFDocument)
Discussion
Typically, you don’t need to create a PDFSelection
object, but you can use an empty PDFSelection
object as a container into which you can place selections, using PDFSelection
and addSelections.