- (void)callPhone:(NSString*)phoneNumber
{
//phoneNumber = "18369......"
NSMutableString* str=[[NSMutableStringalloc]initWithFormat:@"tel:%@",phoneNumber];
UIWebView* callWebview = [[UIWebViewalloc]init];
[callWebviewloadRequest:[NSURLRequestrequestWithURL:[NSURLURLWithString:str]]];
[self.viewaddSubview:callWebview];
}
网友评论