This app has 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.
iOS11以前:
NSPhotoLibraryUsageDescription:訪問相冊和存儲照片到相冊(讀寫),會出現用戶授權。
iOS11之后:
NSPhotoLibraryUsageDescription:無需添加。默認開啟訪問相冊權限(讀),無需用戶授權。
NSPhotoLibraryAddUsageDescription: 添加內容到相冊。(寫),會出現用戶授權。