通过 openURL 使用 Skype.app 进行呼叫:
有谁知道是否可以打开 Skype.app 通过
- (BOOL)openURL:(NSURL *)url
UIApplication 消息拨打电话?
如果可能的话,需要将什么 URL 传递给此消息?
谢谢
Does anybody know if it is possible open Skype.app to call phone via
- (BOOL)openURL:(NSURL *)url
UIApplication message?
If it possible, what url a need pass to this message?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
只是为了提供一些指导,我们在 iOS 上提供 URI 支持,并为您创建了一个示例,请参阅:https://dev.skype.com/skype-uri/skype-uri-tutorial-ios
Just to provide some direction here we provide URI support on iOS and we have created an example for you, see: https://dev.skype.com/skype-uri/skype-uri-tutorial-ios
通过查看 Skype 的 Info.plist 文件(您可以从 iTunes 下载的 ipa 文件中打开它),您可以发现它没有注册 URL,因此您将无法从应用程序中调用它。
您应该查找名为
CFBundleURLTypes
的键(您可以在 Twiterrific 中查看已定义该键的应用程序)。更新:显然,从Skype 2.1开始,有一个注册的URL。 查看此问题的其他答案。
By looking at Skype's Info.plist file (you can open it from the ipa file iTunes has downloaded), you can tell it has no URL registered, so you won't be able to call it from your application.
You should look for a key called
CFBundleURLTypes
(you can look at Twiterrific's for an app that has one defined).Update: Apparently, starting with Skype 2.1, there is a URL registered. See other answers on this question.
仅供参考,当添加多任务支持时,情况似乎发生了变化:至少从 Skype 2.1.0 开始,此 URI 工作正常:
skype:+33123456789?call
Just for reference, this seems to have changed when multitasking support was added: starting at least with Skype 2.1.0, this URI works fine:
skype:+33123456789?call