kumar
kumar

Reputation: 453

How to enable web page alerts in our simulator?

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

Answers (1)

rishi
rishi

Reputation: 11839

Java script is by default enabled and can not be disabled.So you won't need to bother about that.

Upvotes: 1

Related Questions