IOS10 photo album camera flash back bug solution

  • 2021-07-26 08:57:54
  • OfStack

iOS10 system calls the system photo album and camera functions, and encounters flashback, which is described as follows:


This app has crashed because it attempted 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.

Repair method:

Add under the info. plist file

Camera permissions


<key>NSCameraUsageDescription</key>

<string>cameraDesciption</string>

Album permissions


<key>NSPhotoLibraryUsageDescription</key>

<string>photoLibraryDesciption</string>

Thank you for reading, hope to help everyone, thank you for your support to this site!


Related articles: