无法在iOS 7.1.2上拨打电话

无法在iOS 7.1.2上拨打电话,ios,objective-c,ios7,Ios,Objective C,Ios7,我想打申请电话。为此,我使用了以下代码: NSString *phoneNumber = [@"tel://" stringByAppendingString:strCareProviderPhone]; [[UIApplication sharedApplication] openURL:[NSURL URLWithString:phoneNumber]]; 对于iOS 7.1.1和iOS 8.0,它的工作状态良好。对于iOS 7.1.2,它不工作。对于iOS 7.1.2,电话号码格式为(

我想打申请电话。为此,我使用了以下代码:

NSString *phoneNumber = [@"tel://" stringByAppendingString:strCareProviderPhone];

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:phoneNumber]];
对于iOS 7.1.1和iOS 8.0,它的工作状态良好。对于iOS 7.1.2,它不工作。对于iOS 7.1.2,电话号码格式为(999)9900000。 PS:我也尝试过使用字符串格式,比如stringByReplacingOccurrencesOfString作为括号和空格。但是没有成功

谁能帮帮我吗

提前感谢,


Akshay

出于好奇,如果你使用
telprompt://
来代替iOS 7.1.2,会发生什么?@lead\u the\u齐柏林飞艇我同意你的看法,我认为无论如何使用
telprompt://
是有意义的,因为它会在通话结束后将用户重定向回你的应用程序。telprompt://也不起作用。。我真的不明白出了什么问题?iOS 7.1.2中是否存在某种缺陷?