本文介绍了UIImagePickerController在ios 9.3 iPad 4上无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
更新ipad到ios 9.3图像后停止显示。有什么不对吗?在iOS 9和iOS 9.2上也可以使用。在其他设备上iPhone设备都运行良好。
After update ipad to ios 9.3 images are stop to display. What can be wrong with it? On iOS 9 and iOS 9.2 that was work as well. On other devices iPhone devices all work fine.
private func presentPickerForLibrary() {
let imagePicker = UIImagePickerController()
imagePicker.allowsEditing = false
imagePicker.sourceType = .PhotoLibrary
imagePicker.delegate = self
presentViewController(imagePicker, animated: true, completion: nil)
}
推荐答案
似乎与iCloud Photo Library设置相关联。在首选项中启用此功能可以解决我的问题。
Seems to be linked to iCloud Photo Library setting. Turning this on in Preferences fixes the issue for me.
这篇关于UIImagePickerController在ios 9.3 iPad 4上无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!