I found solution that I need to add some code in info.plist
. I did it like below:
<key>LSApplicationQueriesSchemes</key>
<array>
<string>tel</string>
</array>
still no help. I get this error:
"-canOpenURL: failed for URL: "tel://4806501708" - error: "This app is not allowed to query for scheme tel"
my code for opening dialler:
NSString *phoneNumber = [@"tel://" stringByAppendingString:lblVenPhoneValue.text];
if ([UIApplication.sharedApplication canOpenURL:[NSURL URLWithString:phoneNumber]]) {
[UIApplication.sharedApplication openURL:[NSURL URLWithString:phoneNumber]];
What do I need to do?
Thanks in Advance