In order to return to app after call, I use telprompt instead of tel. Codes like this:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"telprompt://10086"]];
Somebody says that it will be rejected by apple because telpromt is not the public URL Scheme. But I didn't find a certain answer - Yes or No. Can anybody help me?
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.
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.
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?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With