0

Is there a way to update a WebView instantly without using JavaScript ? For now I'm using stringByEvaluatingJavaScriptFromString with innerHTML and it works perfectly but I'm thinking about (paranoid?) users who deactivate Javascript...

Thanks in advance

teum
  • 125
  • 3
  • 12

2 Answers2

1

Users cannot disable Javascript in UIWebview

Michaël
  • 6,676
  • 3
  • 36
  • 55
0

Related: UIWebView: Can You Disable Javascript?

Use this: loadHTMLString:baseURL:

Community
  • 1
  • 1
Simeon
  • 5,519
  • 3
  • 29
  • 51
  • I'm already using loadHTMLString:baseURL: but if I just want to update a small part of the webview I will have to reload it entirely (correct me if I'm wrong) and I don't want to. – teum May 24 '11 at 16:13
  • OK your question did not state that it was only a part of the content that you wanted to update. The related question should provide you with confirmation that users cannot disable JavaScript in your UIWebViews – Simeon May 25 '11 at 07:36