通过 openURL 使用 Skype.app 进行呼叫:

发布于 2024-07-30 15:56:17 字数 163 浏览 3 评论 0原文

有谁知道是否可以打开 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

安穩 2024-08-06 16:03:28

只是为了提供一些指导,我们在 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

-残月青衣踏尘吟 2024-08-06 16:02:07

通过查看 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.

一笔一画续写前缘 2024-08-06 16:00:37

仅供参考,当添加多任务支持时,情况似乎发生了变化:至少从 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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文