Learn about iOS recently. Video Course [UIImage] (https://www.imooc.com/video/12718)
Related knowledge Points: store a local image in the system album .
Api:uiimagewritetosavedphotosalbum
Follow the instructions in the video tutorial dome to start the error as follows:
[Access] 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.
As described above. You need to add the relevant descriptive text to the Info.plist.
Open info.plist, add corresponding configuration nsphotolibraryaddusagedescription, type default string, value fill in: Interface prompt text.
The effect is as follows:
Simulator 8p/11.4
Other:
Reference Link: http://www.cnblogs.com/KiVen2015/p/6627253.html
iOS uiimagewritetosavedphotosalbum error nsphotolibraryaddusagedescription