Tuesday 18 October 2016

Privacy Settings With XCode8 in iOS 10

From iOS 10, Developer must declare ahead of time any access to private data in plist otherwise App will crash.
List of Framework that count as private data
    ⁃    Contacts,
    ⁃    Calendar,
    ⁃    Motion,
    ⁃    CallKit,
    ⁃    Speech Recognition,
    ⁃    Reminders,
    ⁃    Photos,
    ⁃    Location,
    ⁃    Health,
    ⁃    HomeKit,
    ⁃    Media Library,
    ⁃    SiriKit,
    ⁃    TV Provider.
    ⁃    Bluetooth Sharing,
    ⁃    Microphone,
    ⁃    Camera

If your app using one the framework, You have to add
NSAppleMusicUsageDescription
“Privacy - Media Library Usage Description”
NSBluetoothPeripheralUsageDescription
“Privacy - Bluetooth Peripheral Usage Description”
NSCalendarsUsageDescription
“Privacy - Calendars Usage Description”
NSCameraUsageDescription
“Privacy - Camera Usage Description”
NSContactsUsageDescription
“Privacy - Contacts Usage Description”
NSHealthShareUsageDescription
"Privacy - Health Share Usage Description”
NSHealthUpdateUsageDescription
"Privacy - Health Update Usage Description”
NSHomeKitUsageDescription
“Privacy - HomeKit Usage Description”
NSLocationAlwaysUsageDescription
“Privacy - Location Always Usage Description”
NSLocationUsageDescription
“Privacy - Location Usage Description”
NSLocationWhenInUseUsageDescription
“Privacy - Location When In Use Usage Description”
NSMicrophoneUsageDescription
“Privacy - Microphone Usage Description”
NSMotionUsageDescription
“Privacy - Motion Usage Description”
NSPhotoLibraryUsageDescription
“Privacy - Photo Library Usage Description”
NSRemindersUsageDescription
“Privacy - Reminders Usage Description”
NSVideoSubscriberAccountUsageDescription
“Privacy - TV Provider Usage Description”

Here is screen Shot




Happy Coding!!!

#Xcode8 #iOS #Apple #Coding #iPhone
© 2016 Girijesh
In case if any query/Concern send me a email @girijeshkumar2007@gmail.com

No comments: