Does a UIWebView under iOS inherit the private browsing mode setting from Safari?

I have had issues with sessionStorage and private mode in mobile safari and I'm trying to assess if I could face similar issues pulling the page into a UIWebView.

有帮助吗?

解决方案

Yes UIWebView does have the private browsing mode by default. The Cookie data is accessible by the App only. NSHTTPCookie's singleton instance stores the Cookie information of the UIWebView. You may need to use deleteCookie: method to clear the cached data.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top