title: Disable js alert in UIWebView in ios7
body: <p>I used to disable js alert in UIWebView by overriding</p>
  
  <pre><code>- (void)webView:(UIWebView *)sender runJavaScriptAlertPanelWithMessage:(NSString *)message initiatedByFrame:(WebFrame *)frame;
  </code></pre>
  
  <p>as mentioned by <a href="https://stackoverflow.com/a/1585854/1263403">this answer</a>.</p>
  
  <p>Now with ios7&amp;xcode5, the above code has the compile error: <code>WebFrame: expected a type</code></p>
  
  <p>There is no <code>WebFrame</code> anymore? Anyone know about this?</p>