admin管理员组文章数量:1516870
拨打电话方式
第一种,不会跳出app
UIWebView *callWebView = [[ UIWebView alloc ] init ];
NSURL *telURL = [ NSURL URLWithString : @"tel:10086" ];
[callWebView loadRequest :[ NSURLRequest requestWithURL :telURL]];
[ self . view addSubview :callWebView];第二种,不会跳出app
NSString *allString = [ NSString stringWithFormat : @"tel:10086" ];
[[ UIApplication sharedApplication ] openURL :[ NSURL URLWithString :allString]];
第三种,不会跳出app版权声明:本文标题:快速掌握iOS上的电话拨打技巧,再也不用愁了! 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.betaflare.com/biancheng/1772193839a3272098.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。


发表评论