-canOpenURL: failed for URL: "weixin://app/wxff569f1617559XX1/" - error: "This app is not allowed to

友盟微信分享出现:

-canOpenURL: failed for URL: "weixin://app/wxff569f16175592XX/" - error: "This app is not allowed to query for scheme weixin"

http://segmentfault.com/q/1010000003741815?_ea=357801


提示信息为:您的设备没有安装微信


解决方法:

在info.plist中添加如下字段


LSApplicationQueriesSchemes

 weixin

 wechat

效果如图




了解更多iOS技巧,敬请关注微信公众号iOSTalk:

-canOpenURL: failed for URL:




你可能感兴趣的:(iOS)