美文网首页
调用ios电话功能报错:canOpenURL: failed f

调用ios电话功能报错:canOpenURL: failed f

作者: IT飞牛 | 来源:发表于2019-04-26 14:57 被阅读0次

使用Call Number插件,要在App中点击电话号码,直接跳转到手机的拨号页面,但是ios上报错如下:
xcode控制台输出信息是:
- error: "This app is not allowed to query for scheme tel"
解决方案:
Info.plist 里面建立一个叫LSApplicationQueriesSchemesArray,把你在xxxx部分看到的词汇一个一个填进去,直至控制台没有任何相关输出即可。

image.png

参考:https://blog.csdn.net/x32sky/article/details/50577394

相关文章

网友评论

      本文标题:调用ios电话功能报错:canOpenURL: failed f

      本文链接:https://www.haomeiwen.com/subject/hnafnqtx.html