Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Will apps that use telprompt be rejected

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?

like image 926
Smeegol Avatar asked Jul 23 '12 08:07

Smeegol


3 Answers

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.

like image 74
Raptor Avatar answered Nov 20 '22 05:11

Raptor


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.

like image 14
Sal Avatar answered Nov 20 '22 03:11

Sal


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?

like image 7
miho Avatar answered Nov 20 '22 05:11

miho