On iOS, PDF pages that have a transparent background are incorrectly rendered with a solid black background. This appears to be caused by the native PdfView creating an opaque graphics context, whose default black color shows through the PDF's transparent areas.
This issue only occurs on iOS and only for specific PDF documents that utilize transparency. The same document renders correctly on Android.
To Reproduce
- Use the
<PdfView /> component in a React Native application on an iOS device or simulator.
- Display a PDF document that contains a page with a transparent background.