Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 6th, 2012  |  syntax: None  |  size: 0.29 KB  |  hits: 13  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. How to avoid prompt when triggering phone call via UIWebView?
  2. UIWebView *callWebview = [[UIWebView alloc] init];
  3. [callWebview loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:phoneNumber]]];
  4.        
  5. [[UIApplication sharedApplication] openURL:[NSURL URLWithString:tmpPhoneNumber]];