Call using Skype.app via openURL:

时光毁灭记忆、已成空白 提交于 2019-12-07 06:19:57

问题


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


回答1:


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




回答2:


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.




回答3:


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



来源:https://stackoverflow.com/questions/1243810/call-using-skype-app-via-openurl

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!