IOS实现打电话后回调

本文转载至 http://blog.csdn.net/cerastes/article/details/38340687
 
  1. UIWebView *callWebview =[[UIWebView alloc] init] ;  
  2.   
  3. // tel:  或者 tel://  
  4. NSURL *telURL =[NSURL URLWithString:@"tel://10086"];  
  5. [callWebview loadRequest:[NSURLRequest requestWithURL:telURL]];  
  6.   
  7. [self.view addSubview:callWebview];  
posted @ 2015-04-28 16:35  天牛  阅读(252)  评论(0编辑  收藏  举报