Reputation: 21
I have two web views in which I want two run two different facebook accounts on both of these webviews. However, if I sign in on one webview the other webview automatically signs in as well as these two webviews share the same cookies. I know I can delete cookies by using the piece of code that gets a deletes all cookies. However, this deletes the cookies of both webviews. So is there a way to delete the cookies of only one webview? Or maybe an alternate way of accomplishing this? Thanks.
Upvotes: 1
Views: 230
Reputation: 69469
This will not work, since both the UIWebView
will share the same cookies.
UIWebView
cookies and cache are shared with the App, each app has it own cookies and cache stored with the apps sandbox. There is no way to change it behavior.
Upvotes: 1