iOS11 latest privacy information access list

This morning, there was an emergency bug in the app, which caused the photo upload to crash. It was only found that in iOS11, the privacy permission configuration has changed again, and the original album access permissions have been separated. Now there are two permissions to read and write.

iOS11 Access Permission List

Privacy data corresponding key value hint
Album (read) NSPhotoLibraryUsageDescription "XXX" needs your consent to access the album
photo album (write) NSPhotoLibraryAddUsageDescription "XXX" needs your consent to add photos
camera NSCameraUsageDescription "XXX" needs your consent to access the camera
microphone NSMicrophoneUsageDescription "XXX" needs your consent to access the microphone
Location NSLocationUsageDescription "XXX" needs your consent to access location
Access location during use NSLocationWhenInUseUsageDescription "XXX" requires your consent to access locations during the trial
Always visit location NSLocationAlwaysUsageDescription "XXX" needs your consent to always access location
calendar NSCalendarsUsageDescription "XXX" needs your consent to access the calendar
notes NSRemindersUsageDescription "XXX" needs your consent to access reminders
Sports and Fitness NSMotionUsageDescription "XXX" requires your consent to access Sports & Fitness
health update NSHealthUpdateUsageDescription "XXX" requires your consent to access health updates
healthy sharing NSHealthShareUsageDescription "XXX" requires your consent to access Health Sharing
Bluetooth NSBluetoothPeripheralUsageDescription "XXX" requires your consent to access Bluetooth
media library NSAppleMusicUsageDescription "XXX" needs your consent to access the media library

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325127417&siteId=291194637