码迷,mamicode.com
首页 > 微信 > 详细

App在iOS9上不能分享至微信,提示微信没有安装

时间:2015-11-17 00:06:06      阅读:395      评论:0      收藏:0      [点我收藏+]

标签:

方法是在Info.plist中添加相应的白名单,如下所示(文本模式打开再添加)      此教程来自于网络

 

<key>LSApplicationQueriesSchemes</key><array>
<!-- 微信 URL Scheme 白名单-->
<string>wechat</string>
<string>weixin</string>

<!-- 新浪微博 URL Scheme 白名单-->
<string>sinaweibohd</string>
<string>sinaweibo</string>
<string>sinaweibosso</string>
<string>weibosdk</string>
<string>weibosdk2.5</string>

<!-- QQ、Qzone URL Scheme 白名单-->
<string>mqqapi</string>
<string>mqq</string>
<string>mqqOpensdkSSoLogin</string>
<string>mqqconnect</string>
<string>mqqopensdkdataline</string>
<string>mqqopensdkgrouptribeshare</string>
<string>mqqopensdkfriend</string>
<string>mqqopensdkapi</string>
<string>mqqopensdkapiV2</string>
<string>mqqopensdkapiV3</string>
<string>mqzoneopensdk</string>
<string>wtloginmqq</string>
<string>wtloginmqq2</string>
<string>mqqwpa</string>
<string>mqzone</string>
<string>mqzonev2</string>
<string>mqzoneshare</string>
<string>wtloginqzone</string>
<string>mqzonewx</string>
<string>mqzoneopensdkapiV2</string>
<string>mqzoneopensdkapi19</string>
<string>mqzoneopensdkapi</string>
<string>mqqbrowser</string>
<string>mttbrowser</string>

<!-- 人人 URL Scheme 白名单-->
<string>renrenios</string>
<string>renrenapi</string>
<string>renren</string>
<string>renreniphone</string>

<!-- 来往 URL Scheme 白名单-->
<string>laiwangsso</string>

<!-- 易信 URL Scheme 白名单-->
<string>yixin</string>
<string>yixinopenapi</string>

<!-- instagram URL Scheme 白名单-->
<string>instagram</string>

<!-- whatsapp URL Scheme 白名单-->
<string>whatsapp</string>

<!-- line URL Scheme 白名单-->
<string>line</string>

<!-- Facebook URL Scheme 白名单-->
<string>fbapi</string>
<string>fb-messenger-api</string>
<string>fbauth2</string>
<string>fbshareextension</string></array>

App在iOS9上不能分享至微信,提示微信没有安装

标签:

原文地址:http://www.cnblogs.com/xzguo/p/4970321.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!