这是我的第一个 iOS 应用程序。使用 Swift 3。我ELCImagePickerController用来选择多个图像。我的代码成功打开库,我可以选择多个图像。但是,在取消或完成选择时,相册什么都没有发生,也没有解雇。我的代码如下:
override func viewDidLoad() {    
    super.viewDidLoad(  
    imagePicker.delegate = self
}
func elcimagePickerController(_ picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [String : Any]) {
    self.dismiss(animated: true, completion: nil)   
}
func elcimagePickerControllerDidCancel(picker: UIImagePickerController) {dismiss(animated: true, completion: nil)
}
请让我知道我做错了什么。