Appropriate permission settings for IOS10

Source: Internet
Author: User

Workaround (Fix method):
Add in info.plist-source Code
Usagedescription related key, describe the string to fill it out, but be sure to fill in, otherwise it will cause the problem of invalid package, resulting in the build version of the upload package has not been displayed .

<!--albums--<key>NSPhotoLibraryUsageDescription</key> <string>app need your consent to access the album </string> <!--Camera--<key>NSCameraUsageDescription</key> <string>app requires your consent to access the camera </string> <!--Microphones--<key>NSMicrophoneUsageDescription</key> <string>app requires your consent to access the microphone </string> <!--location--<key>NSLocationUsageDescription</key> <string>app requires your consent in order to access the location </string> <!--access Location--<key>NSLocationWhenInUseUsageDescription</key> <string>app requires your consent to access the location during use </string> <!--always access location--<key>NSLocationAlwaysUsageDescription</key> <string>app requires your consent in order to always access the location </string> <!--calendar--<key>NSCalendarsUsageDescription</key> <string>app need your consent to access the calendar </string> <!--reminders--<key>NSRemindersUsageDescription</key> <string>app requires your consent in order to access reminders </string> <!--Sports and fitness--<key>NSMotionUsageDescription</key> <string>app need your consent in order to access sports and fitness </string> <!--Health Update-<key>NSHealthUpdateUsageDescription</key> <string>app requires your consent to access the health update </string> <!--health Sharing--<key>NSHealthShareUsageDescription</key> <string>app need your consent in order to access health sharing </string> <!--Bluetooth---<key>NSBluetoothPeripheralUsageDescription</key> <string>app need your consent to access the Bluetooth </string> <!--Media Archive--<key>NSAppleMusicUsageDescription</key> <string>app requires your consent to access the Media Library </string>

If it doesn't work, you can request background permissions, similar to this:

<key>UIBackgroundModes</key><array> <!--write here what you want to use in background mode key---<string >location</string> ... </array>

Appropriate permission settings for IOS10

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.