UIWebView*callWebview =[[UIWebView alloc] init]; NSString *telUrl = [NSString stringWithFormat:@"tel:%@",phone]; NSURL *telURL =[NSURL URLWithString:telUrl]; [callWebview loadRequest:[NSURLRequest requestWithURL:telURL]];
[self.view addSubview:callWebview];
时间: 2024-10-05 04:58:33