iOS development Info.plist file-related configuration

Source: Internet
Author: User

In some cases, the Info.plist file needs to be configured in iOS development, and several related configurations are described below. Later encountered need to configure the re-update ...

Development environment: swift3.0.1,xcode8.1

A third-party font is required in the project

1. Open info.plist File Select Information Property list select Plus add a record Fonts provided by Application(case sensitive)

2, which is an array and then adds the name of the font file in its item that has been copied in this project.

Second, you need to use the library that calls your phone in the project

Add key:nsphotolibraryusagedescription As for value, fill in some user tips. For example: "Please allow XXX to access your album"

Third, the project needs to access the network

Apple officially has not allowed developers to use the unsecured HTTP communication protocol, the configuration method to refer to the first article.

1. Add the App Transport Security Settings Array.

2, add the Allow arbitrary Loads element and change the value of the element to Yes.

iOS development Info.plist file-related configuration

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.