2

Is it possible to change Safari settings in a native app like following :

  1. Accept Cookies : Never
  2. Javascript: Off
  3. Clear History, clear cookies and clear cache

Is the above possible and legal to do in a native app?

san
  • 3,290
  • 1
  • 27
  • 38

2 Answers2

4

Nop. You can change the cookie settings for your app only.

fbernardo
  • 9,880
  • 3
  • 31
  • 45
2

I guess you are talking about a webview in your own application?

1) NO
You can delete them though: How to delete all cookies of UIWebView?
Also right after creation: Cookies in UIWebView

2) NO, its a system setting: UIWebView: Can You Disable Javascript?

3) There is no saved history in a webview. For cookies see 1),
for the Cache see: How to clear UIWebView cache?
Also interesting: UIWebView cache in iOS and Clearing UIWebview cache,

Community
  • 1
  • 1
calimarkus
  • 9,840
  • 2
  • 25
  • 47