How to maintain incognito / private mode in wkwebview / uiwebview

I am working on incongnito browser. I am using wkwebview when I clear all the cookies I see that a popular search engine like google remembers the searches performed.

I tried clearing all cookies in NSHTTPCookieStorage and resetcookies using NSURLSession but it still doesn't work.

+3


source to share


1 answer


Fit nonpersistentdatastore

for wkwebsitedatastore

for wkwebviewconfiguration

forwkwebview

Fit NSURLrequestreloadcacheignoringlocalandremotecachedata

for NSURlrequest

inuiwebview



Link

Build a non-tracking web browser in the app

+2


source







All Articles