should i need to add NSPhotoLibraryUsageDescription key info.plist. am not using any library related to image

i0S Swift Issue

Question or problem in the Swift programming language:

should i need to add NSPhotoLibraryUsageDescription key info.plist . i am not using any library related to image.

then why i get this mail

This app attempts to access privacy-sensitive data without a usage description. The app’s Info.plist must contain an NSPhotoLibraryUsageDescription key with a string value explaining to the user how the app uses this data.

How to solve the problem:

may be you are using somewhere UIImagePicker or in somewhere in library so you are accessing user’s Images that’s why and it is count as accessing user’s private data.

if you are not using any framework still you have to add a key to avoid any rejection chance from apple.

Just add this key safe side

NSPhotoLibraryUsageDescription
Photo Library Access Warning

Hope this helps!