在我的应用程序中,我想拨打号码* 111,当我用这个URL tel:* 111来打电话,但是不能拨打电话成功,请给我一些说明,非常感谢. [[UIApplication sharedApplication] openURL:@"tel:*111"] 不行.但删除*时它会起
[[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.