iOS 10以后,直接使用UIImagePickerViewController時(shí),彈出VC的時(shí)候會導(dǎo)致Crash
需要在info.plist中添加
<key>NSPhotoLibraryUsageDescriptionuse</key>
<string>camera reason</string>
<key>NSCameraUsageDescriptionuse</key>
<string>camera reason</string>
iOS 10以后,直接使用UIImagePickerViewController時(shí),彈出VC的時(shí)候會導(dǎo)致Crash
需要在info.plist中添加
<key>NSPhotoLibraryUsageDescriptionuse</key>
<string>camera reason</string>
<key>NSCameraUsageDescriptionuse</key>
<string>camera reason</string>