When a web app is added to the Home Screen (PWA) dark/light mode switching doesn't work while the app is open. To reproduce: 1. install a web app to the home screen of an iPhone and open it in light mode 2. switch iPhone to dark mode 3. dark mode styling is not applied to the PWA 4. close the app 5. reopen the app 6. only now is the dark mode styling applied When the same web app is opened in Safari it does work correctly
Hi Danny, thanks for the report. Not sure this is WebKit. It might be Safari Side.
<rdar://problem/120109217>
(In reply to Karl Dubost from comment #1) > Hi Danny, thanks for the report. > Not sure this is WebKit. It might be Safari Side. Should I report this to the Safari team? Where do I do that?
Does it happen with all of them? Or one you have developed? If yes to the second question, a reduced test case would be great. I will test on my side too.
It was reproduced on twitter webapp. We moved it internally. Thanks again.
This is now fixed on iOS 18, thanks.