Incorrect Display of PDF Files on iOS 18.2 (Color Inversion or Missing Images)
Problem Description:
On devices running iOS 18.2, certain PDF files are displayed incorrectly:
1. Images within the PDF appear with inverted colors.
2. In some cases, images are entirely missing, leaving blank spaces instead.
Interestingly, the same PDF files display correctly on laptops and other devices, which rules out file corruption as the root cause.
Steps to Reproduce:
1. Open a PDF file containing embedded images on a device running iOS 18.2 (e.g., using the built-in PDFKit renderer).
2. Observe the rendering of images within the file.
Expected Result:
The PDF file should display images correctly, as it does on other devices (e.g., laptops or older versions of iOS).
Actual Result:
Images appear with inverted colors or are entirely missing from the PDF display.
Additional Information:
• The issue is reproducible only on iOS 18.2.
• Accessibility settings (such as color inversion) were checked, and the issue is not caused by device-level settings.
• Opening the same PDF file in third-party apps like Adobe Acrobat Reader often results in correct image rendering.