How to Fix Gray Link Rectangles in PDFs on iPhone
Question details
Users need to stop invisible PDF links from displaying as gray rectangles when viewed on iOS devices.

- Product
- Device & OS
- iOS
- Scenario
- Viewing or sharing a PDF with embedded invisible links on an iPhone or iPad.
- Observed behavior
- Links configured to be invisible are displaying as gray rectangles, overriding the intended document design.
Determine whether the issue happens across all PDF apps or only in the default Apple preview viewer on your iPhone.
Open the PDF Using a Dedicated PDF Viewer
Bypass Apple's default viewer by opening the file in a professional PDF app that correctly processes invisible link properties.
Apple's built-in PDF viewer, which is used by default in Mail, Safari, and Files, often overrides link appearance settings and highlights them with gray boxes. Using a third-party app ensures the 'invisible' property of your hyperlinks is respected.
Download a professional PDF reader like WPS Office or Adobe Acrobat Reader from the App Store.
Find the problematic PDF file on your iPhone.
Tap and hold the file, select 'Share', and choose your dedicated PDF viewer from the app list to open it.

Flatten the PDF Document
Flattening converts interactive elements into a single, uneditable layer, preventing the iOS viewer from highlighting them.
Remove and Recreate the Link Annotations
Rebuilding the links may resolve metadata conflicts that cause iOS rendering errors.
View and Edit PDFs flawlessly with WPS Office for iOS
WPS Office offers a powerful, free PDF viewer and editor for iPhone and iPad that correctly renders invisible links, forms, and annotations exactly as intended.
- 1. Install WPS Office: Download and install WPS Office from the iOS App Store.
- 2. Import Document: Open the app and locate your PDF file via the 'Files' tab.
- 3. View Correctly: Tap to open the document; invisible links will render correctly without gray borders.
- 4. Edit or Flatten: Use the 'Tools' menu to edit or flatten the PDF if you need to share a static version.

Frequently Asked Questions
Why do invisible links only show as gray boxes on my iPhone but look fine on my PC?
Apple's built-in iOS PDF viewer (Quick Look) has limited functionality and often ignores specific PDF formatting properties, such as 'invisible' link outlines, replacing them with default gray highlight boxes.
Can I disable the gray link highlights in iPhone's default viewer?
No, Apple does not provide a setting to disable or customize how links are highlighted in its native PDF previewer. You must use a third-party app to bypass this behavior.
Will flattening the PDF remove the gray rectangles?
Yes, flattening the PDF merges all interactive layers, including links, into the document's background. This removes the gray rectangles, but it also means the links will no longer be clickable.
Does this issue happen with all PDF links on iOS?
It typically happens with hyperlink annotations that are manually set to 'invisible' or have a transparent border. Standard text links generated directly from a word processor may not trigger the same solid gray box depending on how they were embedded.




