I applied WebView in my macOS application and loaded the page into it. When users interact with the page, the changes are saved in localStorage (which is confirmed by making the same changes in Chrome), but it looks like WebViews donβt save localStorage on macOS.
Earlier answers (years ago) indicate the use of a private API, which has since been completely removed. Is there no way at all to save localStorage for WebView on macOS? It seems crazy.
source share