-
Notifications
You must be signed in to change notification settings - Fork 2
/
WechatDownload.html
115 lines (114 loc) · 16.2 KB
/
WechatDownload.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<!DOCTYPE html>
<html lang="cn">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>微信开放文档</title>
<meta name="description" content="微信开发者平台文档">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="theme-color" content="#ffffff">
<link rel="shortcut icon" type="image/x-icon" href="https://res.wx.qq.com/a/wx_fed/assets/res/NTI4MWU5.ico">
<link rel="mask-icon" color="#4C4C4C" href="https://res.wx.qq.com/a/wx_fed/assets/res/MjliNWVm.svg">
<link rel="apple-touch-icon-precomposed" href="https://res.wx.qq.com/a/wx_fed/assets/res/OTE0YTAw.png">
<link rel="preload" href="https://res.wx.qq.com/wxdoc/dist/assets/css/0.styles.ea1befd2.css" as="style"><link rel="preload" href="https://res.wx.qq.com/wxdoc/dist/assets/js/app.2a079813.js" as="script"><link rel="preload" href="https://res.wx.qq.com/wxdoc/dist/assets/js/1080.83edf74b.js" as="script">
<link rel="stylesheet" href="https://res.wx.qq.com/wxdoc/dist/assets/css/0.styles.ea1befd2.css">
</head>
<body>
<div id="app" data-server-rendered="true"><div class="theme-container"><div class="theme-container"><header class="navbar navbar_with-link"><div class="navbar__left"><a href="/doc/" class="home-link router-link-active"><div class="logo__wrp"><span class="logo__icon"></span></div></a> <span class="dot"></span> <div class="dropdown-wrapper"><a class="dropdown-title"><span class="title">开放平台</span> <span class="arrow right"></span></a> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/miniprogram/dev/framework/" class="nav-link external">
小程序
</a></li><li class="dropdown-item"><!----> <a href="/minigame/dev/guide/" class="nav-link external">
小游戏
</a></li><li class="dropdown-item"><!----> <a href="/doc/ministore/minishopquickstart/introduction.html" class="nav-link external">
小商店
</a></li><li class="dropdown-item"><!----> <a href="/doc/offiaccount/Getting_Started/Overview.html" class="nav-link external">
公众号
</a></li><li class="dropdown-item"><!----> <a href="/doc/aispeech/platform/INTRODUCTION.html" class="nav-link external">
智能对话
</a></li><li class="dropdown-item selected"><!----> <a href="/doc/oplatform/Third-party_Platforms/2.0/getting_started/how_to_read.html" class="nav-link external">
开放平台
</a></li><li class="dropdown-item"><!----> <a href="https://work.weixin.qq.com/api/doc" class="nav-link external">
企业微信
</a></li><li class="dropdown-item"><!----> <a href="https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pages/index.shtml" class="nav-link external">
微信支付
</a></li><li class="dropdown-item"><!----> <a href="/doc/xwei/xiaowei-introduction/Introduction.html" class="nav-link external">
腾讯小微
</a></li></ul></div></div> <div class="navbar__center"><!----></div> <div class="navbar__right"><ul class="lang-tab"><li class="lang-tab__item selected">中文</li> <li class="lang-tab__item">EN</li></ul> <div class="search__wrp"><div class="search__input"><div class="weui-desktop-search"><span class="weui-desktop-form__input-wrp"><span class="weui-desktop-form__input-append-in"><button class="weui-desktop-icon-btn weui-desktop-search__btn"><svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M11.33 10.007l4.273 4.273a.502.502 0 0 1 .005.709l-.585.584a.499.499 0 0 1-.709-.004L10.046 11.3a6.278 6.278 0 1 1 1.284-1.294zm.012-3.729a5.063 5.063 0 1 0-10.127 0 5.063 5.063 0 0 0 10.127 0z"></path></svg></button></span> <input placeholder="搜索内容" type="search" value="" class="weui-desktop-form__input"></span></div> <a href="javascript:;" class="search-back__btn">取消</a></div> <div class="reco-list__wrp" style="display:none;"><ul class="reco__list"></ul> <div class="show-more"><a href="/doc/search?source=more&query=&doc_type=oplatform&jumpbackUrl=%2Fdoc%2F" class="reco-item__link">查看更多 </a></div></div> <div class="reco-list__wrp" style="display:none;"><div class="show-more"><a href="/doc/search?source=more&query=&doc_type=oplatform&jumpbackUrl=%2Fdoc%2F" class="reco-item__link">在开放平台下暂无结果,查看其它业务相关内容 > </a></div></div></div></div></header> <div class="subnavbar"><ul class="subnavbar__list"><li class="subnavbar__item" style="display:;"><a href="/doc/oplatform/Mobile_App/Resource_Center_Homepage" target="_self">
移动应用
</a></li><li class="subnavbar__item" style="display:;"><a href="/doc/oplatform/Website_App/WeChat_Login/Wechat_Login" target="_self">
网站应用
</a></li><li class="subnavbar__item" style="display:;"><a href="/doc/oplatform/Third-party_Platforms/2.0/getting_started/how_to_read" target="_self">
第三方平台
</a></li><li class="subnavbar__item" style="display:;"><a href="/doc/oplatform/service_market/intro" target="_self">
服务平台
</a></li><li class="subnavbar__item" style="display:;"><a href="/doc/oplatform/Miniprogram_Frame/index" target="_self">
小程序硬件框架
</a></li><li class="subnavbar__item selected" style="display:;"><a href="/doc/oplatform/Downloads/iOS_Resource" target="_self">
资源下载
</a></li><li class="subnavbar__item" style="display:;"><a href="/doc/oplatform/Return_codes/Return_code_descriptions_new" target="_self">
返回码
</a></li></ul></div> <div class="mobile-links__wrp"><div class="mobile-links_mobile"><a href="javascript:;" class="mobile-links__btn">中文</a></div> <div class="mobile-links__panel"><div class="links-panel__bd"><!----></div> <div class="links-panel__ft"><ul class="lang-tab"><li class="lang-tab__item selected">中文</li> <li class="lang-tab__item">EN</li></ul></div></div> <div><div class="weui-mask" style="display:none;"></div> <div class="weui-actionsheet "><!----> <div class="weui-actionsheet__menu"><div class="weui-actionsheet__cell">中文</div><div class="weui-actionsheet__cell">EN</div></div> <div class="weui-actionsheet__action"><div class="weui-actionsheet__cell">取消</div></div></div></div></div> <a href="javascript:;" class="mobile-search-btn"></a> <div class="main-container" style="margin-top:0;"><div class="main-contontaier__bd" style="min-height:0px;"><div class="sidebar__wrp"><div class="sidebar-cell_mobile"><li class="subnavbar__item selected"><a href="javascript:;" target="_self">资源下载</a></li></div> <aside class="sidebar" style="top:144px;"> <div class="TreeNavigation"><div class="NavigationLevel NavigationLevel--level-0"><ul><li><span class="NavigationItem"><!----> <a href="/doc/oplatform/Downloads/iOS_Resource.html" aria-current="page" class="NavigationItem__router-link router-link-exact-active router-link-active">
iOS资源下载
<!----></a> <!----> <!----></span></li><li><span class="NavigationItem"><!----> <a href="/doc/oplatform/Downloads/Android_Resource.html" class="NavigationItem__router-link">
Android资源下载
<!----></a> <!----> <!----></span></li><li><span class="NavigationItem"><!----> <a href="/doc/oplatform/Downloads/WP8_Resource.html" class="NavigationItem__router-link">
WP8资源下载
<!----></a> <!----> <!----></span></li><li><span class="NavigationItem"><!----> <a href="/doc/oplatform/Downloads/Design_Resource.html" class="NavigationItem__router-link">
设计资源下载
<!----></a> <!----> <!----></span></li><li><span class="NavigationItem"><!----> <a href="/doc/oplatform/Downloads/Materials_Resource.html" class="NavigationItem__router-link">
物料资源下载
<!----></a> <!----> <!----></span></li></ul></div></div> </aside></div> <div class="page__wrp"><main class="page"><div class="page-inner" style="min-height:0px;"> <div id="docContent"><div class="Breadcrumb"></div> <div class="content custom"><p><strong>开发工具包(SDK)</strong></p> <p>使用微信分享、登录、收藏、支付等功能需要的库以及文件。通过CocoaPods集成(详情查看<a href="https://developers.weixin.qq.com/doc/oplatform/Mobile_App/Access_Guide/iOS.html" target="_blank" rel="noopener noreferrer">接入流程<span></span></a>)或点击下载以下开发工具包:</p> <p></p> <p>1. iOS开发工具包<a href="https://res.wx.qq.com/op_res/XP2S6Df6fFmoNCdbbD14fbkHfjxvl3Q4lw61HkI79tjBQjppRTgJSmJ1cYKIXZdQh9IeX2xXCWX7AqnzuWfUvw">iOS开发工具包</a>(1.9.2版本,包含支付功能)。</p> <p>2. iOS开发工具包<a href="https://res.wx.qq.com/op_res/pJ_FVizsw7P7hhvUYCofQ-6iEKRwRsU6hk_C1dkncaT3MiNsypMGK83cI_2O7V638GLxmxue9Bqiyha1D2hJJQ">iOS开发工具包</a>(1.9.2版本,不包含支付功能)。</p> <p>使用微信语音识别接口、语音合成接口。点击下载 语音SDK+Demo+开发文档<a href="https://res.wx.qq.com/open/zh_CN/htmledition/res/dev/download/sdk/WXVoice_iOS_3.0.2.zip" target="_blank">语音SDK+Demo+开发文档</a></p> <p>使用微信图像识别接口。点击下载 图像SDK+Demo+开发文档<a href="https://res.wx.qq.com/open/zh_CN/htmledition/res/dev/download/sdk/WXImg_iOS_2.0.2.zip" target="_blank">图像SDK+Demo+开发文档</a></p> <p>使用微信卡券功能接口。点击下载 卡券SDK+开发文档<a href="https://res.wx.qq.com/open/zh_CN/htmledition/res/dev/download/sdk/WXTicket_iOS.zip" target="_blank">卡券SDK+开发文档</a></p> <p><strong>范例代码</strong></p> <p>包含了一个完整的范例工程,该范例的使用可以参阅iOS平台上手指南。点击下载 <a href="https://res.wx.qq.com/op_res/bud8ZUIdD-ay-tp773CkmKDdblXObskuY3kV-VRM_zjGSTHi5dI0DwNduRqIehjz">范例代码</a></p> <p><strong>各版本信息</strong></p> <p>SDK1.9.2</p> <ol><li>新增拉起微信客服能力</li></ol> <br> <p>SDK1.9.1</p> <ol><li>音乐视频分享类型增加运营H5字段</li></ol> <br> <p>SDK1.8.9</p> <ol><li>增加音乐视频分享类型</li></ol> <br> <p>SDK1.8.7.1</p> <ol><li>修复Xcode11以下编译不通过</li></ol> <br> <p>SDK1.8.7</p> <ol><li>修复iPadOS,未安装微信的情况下,因为UA问题无法授权登录</li> <li>修复未安装微信的情况下, 适配了UIScene的App因为UIAlertView Crash</li> <li>增加Universal Link检测函数</li></ol> <br> <p>SDK1.8.6.2</p> <p>修改包含"UIWebView"字符的类名</p> <br> <p>SDK1.8.6.1</p> <ol><li>UIWebview切换成WKWebview</li> <li>支持Universal Link拉起微信以及返回App</li> <li>移除MTA库</li></ol> <br> <p>SDK1.8.5</p> <ol><li>更换MTA库:取消对剪切板的访问, 防止和其他SDK竞争导致crash</li> <li>NSMutableArray的MTA分类方法改名,减少命名冲突</li> <li>不含支付功能版本移除非税支付和医保支付接口</li> <li>分享音乐支持填写歌词和高清封面图</li></ol> <br> <p>SDK1.8.4</p> <p>1.调整分享图片大小限制</p> <p>2.新增openBusinessView接口</p> <br>
SDK1.8.3
<p>1.SDK增加调起微信刷卡支付接口</p> <p>2.SDK增加小程序订阅消息接口</p> <p>3.修复小程序订阅消息接口没有resp的问题</p> <br> <p>SDK1.8.2<br>
1.SDK增加开发票授权 WXInvoiceAuthInsert<br>
2.SDK增加非税接口 WXNontaxPay<br>
3.SDK增加医保接口 WXPayInsurance<br>
4.更换MTA库</p> <p>SDK1.8.1<br>
1.SDK打开小程序支持指定版本(体验,开发,正式版)<br>
2.SDK分享小程序支持指定版本(体验,开发,正式版)<br>
3.SDK支持输出log日志</p> <p>SDK1.8.0<br>
1.SDK支持打开小程序<br>
2.SDK分享小程序支持shareTicket</p> <p>SDK1.7.9<br>
1.SDK订阅一次性消息</p> <p>SDK1.7.8<br>
1.SDK分享小程序支持大图</p> <p>SDK1.7.7
1.增加SDK分享小程序<br>
2.增加选择发票接口</p> <p>SDK1.7.6<br>
1.提高稳定性<br>
1)修复mta崩溃<br>
2)新增接口支持开发者关闭mta数据统计上报</p> <p>SDK1.7.5<br>
1.提高稳定性<br>
2.加快registerApp接口启动速度</p> <p>SDK1.7.4<br>
1.更新支持iOS启用 ATS(App Transport Security)<br>
2.需要在工程中链接CFNetwork.framework<br>
3.在工程配置中的”Other Linker Flags”中加入”-Objc -all_load”</p> <p>SDK1.7.3<br>
1.增强稳定性,适配iOS10<br>
2.修复小于32K的jpg格式缩略图设置失败的问题</p> <p>SDK1.7.2<br>
1.修复因CTTeleponyNetworkInfo引起的崩溃问题</p> <p>SDK1.7.1<br>
1.支持兼容ipv6(提升稳定性)<br>
2.xCode Version 7.3.1 (7D1014) 编译</p> <p>SDK1.7</p> <ol><li>支持兼容ipv6</li> <li>修复若干问题增强稳定性</li></ol> <p>SDK1.6.3<br>
1.xCode7.2 构建的sdk包<br>
2.请使用xCode7.2进行编译<br>
3.需要在Build Phases中Link Security.framework<br>
4.修复若干小问题</p> <p>SDK1.6.2<br>
1.xCode7.1 构建的sdk包<br>
2.请使用xCode7.1进行编译</p> <p>SDK1.6.1<br>
1.修复armv7s下,bitcode可能编译不过<br>
2.解决warning</p> <p>SDK1.6<br>
1.iOS 9系统策略更新,限制了http协议的访问,此外应用需要在“Info.plist”中将要使用的URL Schemes列为白名单,才可正常检查其他应用是否安装。<br>
受此影响,当你的应用在iOS 9中需要使用微信SDK的相关能力(分享、收藏、支付、登录等)时,需要在“Info.plist”里增加如下代码:</p> <div class="language- extra-class"><pre class="language-text"><code><key>LSApplicationQueriesSchemes</key>
<array>
<string>weixin</string>
</array>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
</code></pre></div><p>2.开发者需要在工程中链接上 CoreTelephony.framework<br>
3.解决bitcode编译不过问题</p> <p>SDK1.5<br>
1.废弃safeSendReq:接口,使用sendReq:即可<br>
2.新增+(BOOL) sendAuthReq:(SendAuthReq*) req viewController : (UIViewController*) viewController delegate:(id<code><WXApiDelegate></code>) delegate;
支持未安装微信情况下Auth,具体见WXApi.h接口描述<br>
3.微信开放平台新增了微信模块用户统计功能,便于开发者统计微信功能模块的用户使用和活跃情况。开发者需要在工程中链接上:SystemConfiguration.framework,libz.dylib,libsqlite3.0.dylib。</p></div> <div class="fixed-translate" style="display:none;"><span>The translations are provided by WeChat Translation and are for reference only. In case of any inconsistency and discrepancy between the Chinese version and the English version, the Chinese version shall prevail.Incorrect translation. <a href="javascript:;" class="fixed-translate-btn">Tap to report.</a></span></div></div> <!----> <div class="related"><!----> <!----></div> <footer class="page-edit"><!----></footer> <footer class="footer"><ul class="footer-links"><li class="footer-link"><a href="http://www.tencent.com/zh-cn/index.shtml" target="_blank">关于腾讯</a></li> <li class="footer-link"><a href="https://mp.weixin.qq.com/debug/wxadoc/introduction/index.html?t=1484641676" target="_blank">文档中心</a></li> <li class="footer-link"><a href="https://mp.weixin.qq.com/cgi-bin/opshowpage?action=dispelinfo&lang=zh_CN&begin=1&count=9" target="_blank">辟谣中心</a></li> <li class="footer-link"><a href="http://kf.qq.com/faq/120911VrYVrA1509086vyumm.html" target="_blank">客服中心</a></li> <li class="footer-link"><a href="mailto:weixinmp@qq.com" target="_blank">联系邮箱</a></li></ul> <p class="copyright">Copyright © 2012-<span>2022</span> Tencent. All Rights Reserved.</p></footer></div></main></div> <!----></div></div> <div id="popoverWrapId" class="pop-links__wrp popover_hide"><ul class="pop-links__list"><li class="pop-links__item"><button class="pop-link">复制</button></li> <li class="pop-links__item"><button class="pop-link">问题反馈</button></li></ul></div> <div class="fixed-btns"><a href="javascript:;" class="fixed-btn fixed-btn__customer" style="display:none;"><div class="fixed-btn__inner"><span class="fixed-btn__icon"></span> <span class="fixed-btn__text">在线咨询</span></div></a> <a href="javascript:;" class="fixed-btn fixed-btn__feedback"><div class="fixed-btn__inner"><span class="fixed-btn__icon"></span> <span class="fixed-btn__text">反馈</span></div></a> <a href="javascript:;" class="fixed-btn fixed-btn__top" style="display:none;"><div class="fixed-btn__inner"><span class="fixed-btn__icon"></span></div></a></div></div></div></div>
<script src="https://res.wx.qq.com/wxdoc/dist/assets/js/app.2a079813.js" defer></script><script src="https://res.wx.qq.com/wxdoc/dist/assets/js/1080.83edf74b.js" defer></script>
</body>
</html>