Customize PDF rendering on iOS

There are various rendering options to customize how a document is rendered and displayed onscreen. Take a look at all the different RenderOptions you can customize. To apply custom rendering options to your document, you can use the updateRenderOptions(for:with:) method on Document.

Customizing the appearance of forms

To customize the appearance of form elements in a document and style them in a different color, you can set interactiveFormFillColor on the relevant render options object.

To make form elements invisible but still editable, use something like this:

document.updateRenderOptions(for: .all) {
$0.interactiveFormFillColor = .clear
}