Situation: I invoke a Javascript alert
through the UIWebView
method stringByEvaluatingJavaScriptFromString:
like this...
[myWebView stringByEvaluatingJavaScriptFromString:@"alert('FOOBAR');"];
Problem: iOS displays an alert saying "FOOBAR" as expected, but tapping on the "Close" button does not dismiss the alert.
Why can't I close the Javascript alert? How do I get it to close?