你如何从 imagePickerController 中保存图像?我可以很好地将图像显示到 UIImageView 中,但是当我尝试对图像执行任何其他操作时,图像仍然为零。您可以在下面看到我如何保存图像。
-(void)imagePickerController:(UIImagePickerController *)picker
didFinishPickingMediaWithInfo:(NSDictionary *)info
{
[self dismissViewControllerAnimated:YES completion:nil];
self.image = [info objectForKey:UIImagePickerControllerOriginalImage]; //self.image is a UIImage property
}