OnkarK
OnkarK

Reputation: 3793

ALAssetsLibrary permission message

I want to add custom permission message for ALAssetsLibrary permission message. Similar like CLLocationManager purpose. I searched for this but did not found any solution.

Any suggestions are helpful.

Upvotes: 2

Views: 488

Answers (1)

maroux
maroux

Reputation: 3814

In Info.plist file, add value for key NSPhotoLibraryUsageDescription or Privacy - Photo Library Usage Description

From docs:

NSPhotoLibraryUsageDescription (String - iOS) describes the reason that the app accesses the user’s photo library. When the system prompts the user to allow access, this string is displayed as part of the dialog box.

iOS 6.0 and later

Upvotes: 4

Related Questions