标签:打电话
//还没有进行真机测试
-(void)callPhone
{
NSString *phoneNum = @"15313864217";
NSURL *phoneURL = [NSURL URLWithString:[NSString stringWithFormat:@"tel:%@",phoneNum]];
if (!_phoneCallWebView &&![phoneNum isEqualToString:@""]) {
_phoneCallWebView = [[UIWebView alloc]initWithFrame:CGRectZero];//
}
[_phoneCallWebView loadRequest:[NSURLRequest requestWithURL:phoneURL]];
}
标签:打电话
原文地址:http://blog.csdn.net/huanghaiyan_123/article/details/44342653