我是 swift 新手,我正在使用 swift 3。我正在尝试从照片库中选择多个图像,并且我正在使用 ELCimagepickercontroller 但是当我尝试从数组中读取图像时出现错误:类型“任何”没有下标会员我的代码如下:请让我知道出了什么问题
func elcImagePickerController(_ picker: ELCImagePickerController!, didFinishPickingMediaWithInfo info: [Any]!) {
self.dismiss(animated: true, completion: nil)
var i = 0
for item in info as [AnyObject]
{
i += 1
var imageview = UIImageView(image: (info[UIImagePickerControllerOriginalImage] as? [String]))
// var name = .uiImageJPEGRepresentation()!
}
}