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>
本文标题:iOS 10 UIImagePickerViewControll
本文链接:https://www.haomeiwen.com/subject/uqkxbttx.html
网友评论