In order to return to app after call, I use telprompt instead of tel. Codes like this:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@\"tel
I noticed that with iOS 8.0 the tel://
URL scheme will also return to the app after the call. The only difference now is that with telprompt://
the app will prompt before starting the call.
This will not get your application rejected as I already uploaded an application with this and it is on the App Store now.
telprompt://
and tel://
are both valid custom URL scheme of iOS, for now.
Since Apple does not have documentation on telprompt
, its functionality may be removed without notice (low chance though).
Note: Their behavior is different. The former one is better, as it won't dial the number directly and won't stay at Phone app after call.
You may want to have a look at handleopenurl.com an index for iOS URL schemes.
I do not know telprompt. Why not just use tel://10086?