问题描述
*** 我正在处理的事情: 我使用 DKImagePickerController here is full documentation 从照片库上传应用程序中的图像或通过相机拍照;文档中有非常简单的图像选择器控制器实例:
let pickerController = DKImagePickerController()
pickerController.sourceType = .camera //here you can use another source type .photo
pickerController.didSelectAssets = { (assets: [DKAsset]) in
print("didSelectAssets")
print(assets)
}
self.presentViewController(pickerController,animated: true) {}
***问题是:当这个控制器出现并且突然用户不想拍照并点击右上角的“关闭”按钮时,不仅这个图像选择器控制器关闭,而且另一个根视图控制器也关闭了。
你能帮我了解一下发生了什么吗?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)