DKImagePickerController在Swift中用于多个图像选择的使用
问题描述:
有没有人使用以下链接中的DKImagePickerController让您的应用程序支持多个图像的选择?DKImagePickerController在Swift中用于多个图像选择的使用
https://github.com/zhangao0086/DKImagePickerController/tree/2.4.3
我不想用荚,所以我简单地复制DKCamera和DKImagePickerController到我的应用程序的项目,因为我想拥有它iOS上运行7.0版为好,但是当我把这一行代码:
let pickerController = DKImagePickerController()
它给人的错误:
Use of unresolved identifier 'DKImagePickerController'.
任何人都可以请帮我在这?
答
首先,你需要通过的CocoaPods安装DKImagePickerController
然后先用这个库导入像这样
import DKImagePickerController
现在你可以使用这个库没有这个错误