IOS9 WeChat sdk upgrade Guide

Source: Internet
Author: User

IOS9 sdk upgrade Guide
After IOS9 is upgraded, the previously integrated SDK cannot be used to determine whether to install isWXAppInstalled. Baidu found that the upgrade of IOS9 restricts access to the http protocol. SDK1.6.1 official instructions are as follows: 1. iOS 9 system policy update restricts http access. In addition, the application must be in the "Info. in plist, the URL Schemes to be used is listed as a whitelist to check whether other applications are installed. Affected by this, when your app needs to use SDK-related capabilities (such as sharing, favorites, payment, and login) in iOS 9, you need to go to "Info. add the following code in plist: <key> LSApplicationQueriesSchemes </key> <array> <string> weixin </string> </array> <key> NSAppTransportSecurity </key> <dict> <key> NSAllowsArbitraryLoads </ key> <true/> </dict> or configure the whitelist domain name pingma.qq.com 2. The developer must link CoreTelephony to the project. framework3. Solve the Problem of bitcode compilation but SDK1.51. Discard the safeSendReq: interface and use sendReq. 2. Added + (BOOL) sendAuthReq :( SendAuthReq *) req viewController: (UIViewController *) viewController delegate :( id <WXApiDelegate>) delegate; supported Auth without installation. For details, see WXApi. h Interface Description 3. The Open Platform adds the Module User statistics function to help developers collect statistics on user usage and activity of the function module. The developer must link SystemConfiguration. framework, libz. dylib, and libsqlite3.0.dylib to the project. After integration with SDK1.6.1 official documents, the following solutions are available to identify compilation errors. Link the class library libc ++. tbd in Linked Frameworks and Libraries of targets, provided that all the information mentioned in article 1.5 is also Linked.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.