NSString *telNum = @"需要拨打的电话号码";
NSURL *telUrl = [NSURL URLWithString:[NSString stringWithFormat:@"tel:%@",telNum]];
[telWebView loadRequest:[NSURLRequest requestWithURL:telUrl]];
[self.view addSubview:telWebView];
使用上面代码即可
NSString *telNum = @"需要拨打的电话号码";
NSURL *telUrl = [NSURL URLWithString:[NSString stringWithFormat:@"tel:%@",telNum]];
[self.view addSubview:telWebView];
使用上面代码即可