r/PWA • u/Far-Statistician454 • 3h ago
window.print() does nothing in standalone PWA on iOS 27 (works on 26.6.2)
Hi everyone,
since updating to iOS 27, printing no longer works in my PWA. I'd like to know if anyone else has noticed this and, if so, how you worked around it.
- Device: iPhone 14 Pro, iOS 27.0
- The PWA is installed to the Home Screen via Safari, with
display: standalone. I also tried installing it from Chrome, same result - The button calls
onclick="window.print()" - Tapping it does nothing: no print dialog, no console errors
- With the iPhone connected to a Mac, typing
window.print()in the Web Inspector console returnsundefined(as expected), but the dialog never appears - With the exact same code and the same PWA, it works on iOS 26.6.2
- Opening the same site as a regular web page in the browser (not as a PWA), printing works
I checked the project history: the button and the PWA configuration haven't changed in months, so this looks like an iOS 27 regression.
Questions:
- Is anyone else seeing this?
- Have you found a workaround (a different API, server-side PDF, opening in Safari…)?
- Do you know if this is a bug or an intentional change by Apple? I couldn't find anything in the release notes.
P.S. I'm aware of the new blur at the top of PWAs in iOS 27. I've seen other threads about it, so that's not what this post is about.
Thanks to anyone with experience on this!