[[UIApplication sharedApplication] openURL:@"tel:*111"]
不行.但删除*时它会起作用:
[[UIApplication sharedApplication] openURL:@"tel:111"];解决方法 这是不可能的.从 Apple URL Scheme Reference:
总结To prevent users from malicIoUsly redirecting phone calls or changing the behavior of a phone or account,the Phone application supports most,but not all,of the special characters in the tel scheme. Specifically,if a URL contains the * or # characters,the Phone application does not attempt to dial the corresponding phone number.
以上是内存溢出为你收集整理的ios – 如何在iPhone中拨打以*开头的电话?全部内容,希望文章能够帮你解决ios – 如何在iPhone中拨打以*开头的电话?所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)