使用bs_presentImagePickerController进行多个图像选择,但无法获取如何选择所选图像。以下是代码:
bs_presentImagePickerController(vc, animated: false,
select: { (asset: PHAsset) -> Void in
print("Selected: \(asset)")
}, deselect: { (asset: PHAsset) -> Void in
print("Deselected: \(asset)")
}, cancel: { (assets: [PHAsset]) -> Void in
print("Cancel: \(assets)")
}, finish: { (assets: [PHAsset]) -> Void in
print("Finish: \(assets)")
kAppDelegate.imageSelected = true
}, completion:{})
请指导。