Add view helper instead of relying on PSPDFKit functions