A summary of iOS9 adaptation

Source: Internet
Author: User

The latest published app version number is iOS9. Summarize some key points of the adaptation process.

BitcodeiOS9 introduced a new feature: Bitcode, information about Bitcode can be found on the Internet. Bitcode requires that third-party libraries used in project must support Bitcode because very many third-party libraries simply provide simple. A and header files that cannot be recompiled on their own.

A simple way to deal with Bitcode is to temporarily turn off support for Bitcode. Open Project's Build Setting in version Xcode7.0beta and change the Enable Bitcode from Yes to No.

Network requests
IOS9 launched ATS, which requires the app to use a more secure HTTPS protocol when making network requests, and a network request that used the HTTP protocol would have a problem: data not being requested and crashes.

The use of HTTPS protocol for all network requests is debatable. For the first time to solve the problem. Temporarily take the same treatment plan as Bitcode. Turn off support for ATS features. To change info.plist, add a field of dictionary type: nsapptransportsecurity. Add a Boolean-type item:nsallowsarbitraryloads to the dictionary and set it to Yes.

A summary of iOS9 adaptation

Related Article

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.