简体   繁体   English

包括tel. // key in info.plist

[英]including tel:// key in info.plist

In my application, i am using the telprompt:// scheme (and not tel:// ) if a user needs to make a call, because i want him to come back to the app screen. 在我的应用程序中,如果用户需要拨打tel:// ,我正在使用telprompt:// scheme(而不是tel:// ),因为我希望他回到应用程序屏幕。

But when going through the Apple's document "iOS App Programming guide" , i read that the user needs to include a "telephony" key. 但是当浏览Apple的文档"iOS App Programming guide" ,我读到用户需要包含"telephony"密钥。 Here's what it says about it: 以下是它的内容:

Include this key if your app requires (or specifically prohibits) the presence of the Phone app. 如果您的应用需要(或明确禁止)电话应用的存在,请添加此密钥。 You might require this feature if your app opens URLs with the tel scheme. 如果您的应用使用tel方案打开网址,则可能需要此功能。

What should i do? 我该怎么办? should i not include this key in info.plist ? 我不应该在info.plist包含此密钥吗? Will using this scheme become an obstacle in app approval process? 使用此方案会成为应用审批流程中的障碍吗?

You only include that key if your app can only function on an iOS device with a phone. 如果您的应用只能在带手机的iOS设备上运行,则只包含该密钥。 If your use of the phone is optional, do not include the key. 如果您使用手机是可选的,请不要包含钥匙。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM