Question

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.

Était-ce utile?

La solution

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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top