iOS save picture to album crashes

Source: Internet
Author: User

Tags: script causes contain picture RIP GOOGL process plist system

Project iterative development process, there are users to reflect the save picture to the album Crash, and finally self-test, in the iOS11 below the normal storage, and iOS11 after the mobile phone will appear to reflect the problem. The print error message is as follows:

This app had crashed because it attempted to access privacy-sensitive data without a usage description.  The app's info.plist must contain an nsphotolibraryaddusagedescription key with a string value explaining to The user how the app uses this data.

Google Translate:

This application has crashed because it tries to access privacy sensitive data without the use of instructions. The info.plist of an application must contain a Nsphotolibraryaddusagedescription key, in which the string value explains to the user how the application uses this data.

Access to the data, the cause of the problem is the IOS11 system after the new Apple added a permission to save the image later need to add permission "Privacy-photo Library additions Usage Description".

After testing, for the device not upgraded to iOS11 save the picture and no problem, but the device upgrade to IOS11 and then save the picture app will definitely crash, so quickly add to Info.plist file.

iOS save picture to album crashes

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

Tags Index: