iOS 从相册选择图片,点击选择器上的取消无反应

#pragma mark -- UIImagePickerControllerDelegate --
- (void)imagePickerControllerDidCancel:(UIImagePickerController *)picker {
    [self dismissViewControllerAnimated:YES completion:nil];
}

 iOS 弹出相册点击取消,页面没反应,这个时候实现上面的代理方法即可