2
Previewing PDF documents on iOS 18.3
Problem reported by Varian - 3/10/2025 at 12:52 AM
Resolved
Hi GleamTech Team,

We are encountering an issue when previewing PDF documents on iOS mobile devices on iOS 18.3. Gleam tech document ultimate 7.1.5.0. The page failed to load correctly, displaying only a gray screen with a toolbar header.


4 Replies

Reply to Thread
0
Cem Alacayir Replied
Employee Post
Please first update DocumentUltimate to latest v7.4.0 and let me know
1
Varian Replied
Hi Cem Alacayir,

We have already updated DocumentUltimate to the latest version, 7.5.6, and are still encountering this issue on an iOS iPhone 15 Pro Max running iOS 18.4

0
Cem Alacayir Replied
Employee Post
We released a new version which has a new debugging feature:

Version 7.5.8 - April 11, 2025

  • Improved: DocumentViewer.DebugMode property when set to true, will also now do this:
    Global unhandled errors and unhandled promise rejections in browser window will be displayed in an alert dialog,
    this is especially useful when debugging on mobile devices where you cannot access the console.


So update to this version and then set documentViewer.DebugMode = true (server-side)
This way you will be able to see a JS error message if there is any, screenshot that.
If we can see the message, then we can find out the actual problem.

If you don't see any alert dialog with JS error after you set DebugMode = true, then it's not a JS error it's something else:

This look likes a cache issue. I remember Safari Mobile heavily cache pages so if you don't put a variation like some querystring to your page url, you will occasionally get an old page version (weird stuff like JS are new but html is old etc.). This is not about DocumentViewer itself. For example if you try Chrome mobile on same iOS you will not see this behaviour, it works similar to a desktop browser.

If you notice, the icons on the right toolbar under hand icon are not loaded properly, they look weird. Thus it looks like a cache problem
0
Cem Alacayir Replied
Employee Post Marked As Resolution
I couldn't replicate the problem with iOS 18.4 but I got a similar issue on iOS 16.4 simulator while switching examples in our live demo back and forth, but the page in viewer was white and not like yours. The error was due to memory (canvas and zooming). Yours look like page caching problem, did you try opening your host page with a unique query string parameter so it's not aggeresively cached by iOS Safari?

By the way, we have some new fixes for iOS:

Version 7.5.9 - April 14, 2025

  • Fixed: Some Viewer UI problems on Safari iOS and Safari macOS. Some icons on the vertical toolbar were not visible.
    Sub-menus on vertical toolbar disappeared immediately after popping up. Some items in top-right menu like "Save", "Print"
    were shrinked when the viewer width was smaller than 750px (the size when they are moved to the menu).
    Vertical toolbar's scrollbar did not have separate space and was overlayed.

Reply to Thread

Enter the verification text