Reputation: 453
Is their any property for enable java script alerts in our webview?
In android code is-
mWebView = (WebView) findViewById(R.id.webview);
mWebView.getSettings().setJavaScriptEnabled(true);
I search in google but i didn't find any help for use this type of property in our objective-c.
Is there any similar property in iPhone?
Thanks in advance.
Upvotes: 1
Views: 81
Reputation: 11839
Java script is by default enabled and can not be disabled.So you won't need to bother about that.
Upvotes: 1