iOS 10以后,直接使用UIImagePickerViewController时,弹出VC的时候会导致Crash
需要在info.plist中添加
<key>NSPhotoLibraryUsageDescriptionuse</key>
<string>camera reason</string>
<key>NSCameraUsageDescriptionuse</key>
<string>camera reason</string>
iOS 10以后,直接使用UIImagePickerViewController时,弹出VC的时候会导致Crash
需要在info.plist中添加
<key>NSPhotoLibraryUsageDescriptionuse</key>
<string>camera reason</string>
<key>NSCameraUsageDescriptionuse</key>
<string>camera reason</string>