有没有办法清除SFSafariViewController的缓存?

时间:2023-01-21 20:29:27

Is the only way to clear the cache of SFSafariViewController by clearing Safari's cache in the Settings app?

在设置应用程序中清除Safari的缓存是清除SFSafariViewController的唯一方法吗?

1 个解决方案

#1


2  

According to the documentation yes. SFSafariViewController is meant to be secure with very limited developer interaction. Anything more complicated or custom you'd have to use a custom WKWebView. Would be nice if SFSafariViewController were a little more flexible though.

根据文件,是的。SFSafariViewController在非常有限的开发人员交互作用下是安全的。任何更复杂或自定义的东西都必须使用自定义的WKWebView。如果SFSafariViewController更灵活一点就好了。

#1


2  

According to the documentation yes. SFSafariViewController is meant to be secure with very limited developer interaction. Anything more complicated or custom you'd have to use a custom WKWebView. Would be nice if SFSafariViewController were a little more flexible though.

根据文件,是的。SFSafariViewController在非常有限的开发人员交互作用下是安全的。任何更复杂或自定义的东西都必须使用自定义的WKWebView。如果SFSafariViewController更灵活一点就好了。