[英]Will apps that use telprompt be rejected
In order to return to app after call, I use telprompt instead of tel. 为了在通话后返回app,我使用telprompt而不是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. 有人说它会被苹果拒绝,因为telpromt不是公共URL方案。 But I didn't find a certain answer - Yes or No. Can anybody help me?
但我没有找到某个答案 - 是或否。有人可以帮助我吗?
I noticed that with iOS 8.0 the tel://
URL scheme will also return to the app after the call. 我注意到在iOS 8.0中,
tel://
URL方案也将在调用后返回应用程序。 The only difference now is that with telprompt://
the app will prompt before starting the call. 现在唯一的区别是使用
telprompt://
应用程序将在开始调用之前提示。
telprompt://
and tel://
are both valid custom URL scheme of iOS, for now. telprompt://
和tel://
目前都是iOS的有效自定义URL方案。
Since Apple does not have documentation on telprompt
, its functionality may be removed without notice (low chance though). 由于Apple没有关于
telprompt
文档, telprompt
可能会删除其功能,恕不另行通知(尽管机会很少)。
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. 您可能想看看handleopenurl.com是iOS URL方案的索引。
I do not know telprompt. 我不知道telprompt。 Why not just use tel://10086?
为什么不使用tel:// 10086?
这不会让您的应用程序被拒绝,因为我已经上传了一个应用程序,现在它已经在App Store上。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.