Will apps that use telprompt be rejected

2019-01-17 21:39发布

问题:

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?

回答1:

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?



回答2:

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.



回答3:

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.



回答4:

This will not get your application rejected as I already uploaded an application with this and it is on the App Store now.