I\'ve made an application is used to call predefined numbers upon button press. As far as i know the only way to make call inside app is to use \"tel\" or \"telprompt\". Whe
Use following code:
NSString *phoneNumber = @"+91 2308966";
NSString *phoneURLString = [NSString stringWithFormat:@"tel:%@", phoneNumber];
NSURL *phoneURL = [NSURL URLWithString:phoneURLString];
[[UIApplication sharedApplication] openURL:phoneURL];
This code is working for an app which I submitted to the Appstore.
You have used telEprompt://
instead of telprompt://
From your update, it suggests you're sending tel://...
or teleprompt://...
as a URL. The tel:
scheme takes a series of digits. /
is not a digit, so there's no reason you should be passing that as part of the number.