Instance Property

documentView

The innermost view used by PDFView or by your PDFView subclass.

Declaration

iOS, Mac Catalyst
var documentView: UIView? { get }
macOS
var documentView: NSView? { get }

Discussion

The innermost view is the one displaying the visible document pages. This method is useful when converting coordinates from one view to another.

See Also

Specializing the View

func layoutDocumentView()

Performs layout of the inner views.

Draw Operations

Draw in a PDF page.