There is a controller with a WKWebView "Parent" that opens (pushes) another controller with another WKWebView "Child".
When Child
modifies the localStorage, sessionStorage or IndexedDB then pops back to Parent
, Parent
is NOT aware of the changes and needs to be reloaded to see the new values set by Child
.
It means that both WKWebView share the same localStorage, sessionStorage, indexedDB, but they need a refresh of the content to see the modifications.
How to share in real-time the same storage between WKWebView?