javascript - 想要从 React Native CookieManager.clearAll() 中的 webView 清除缓存;在 iOS 中不工作
问题描述
想要从 React Native 中的 Reaact-native-webView 清除缓存,{CookieManager.clearAll();} - 在 iOS 中不工作
解决方案
您可以使用 WebView 中的 Incognito 属性来清除缓存,而您想要使用 WebView 午餐。
<WebView
........
incognito={true}
/>
推荐阅读
- api - 如何使用不和谐命令创建 trello 卡?
- swiftui - 防止点击时突出显示 VStack 中的 NavigationLink
- scala - IntelliJ Scala maven构建jar不生成类文件
- python - 无法使用 Flask-SocketIO 向房间发送消息
- blogger - 如何编辑博客 HTML 以在移动主题中显示默认搜索框?
- javascript - Popper popovers 没有正确遵循旋转的 popper 参考
- javascript - d3 v4 地图意外变空
- git - 我无法在 Digital Ocean 上进行远程部署
- java - 为什么数据文件中的count值不递增?
- geolocation - Json 文件未加载到 folium 地图上