I am using code for giving different effects to image like contrast, hue, saturation etc; and used apple glImageProcessing code, i jump from my view to glimgeProcessing, and save resultant image to property of uiimage in appDelegate file. After returning from Eagle view i used viewDidAppear function to change my image view to updated image
"-[Not A Type _cfTypeID]: message sent to deallocated instance"
my code is
NSLog(@"app imafe is %@",app.image);
[imageView setImage:app.image];
my log response is
2013-07-26 13:39:37.293 imageProcessingApp[1019:11303] app imafe is <UIImage: 0x73c4100>
2013-07-26 13:39:39.482 imageProcessingApp[1019:11303] app imafe is <UIImage: 0x90e0420>
2013-07-26 13:39:39.483 imageProcessingApp[1019:11303] *** -[Not A Type _cfTypeID]: message sent to deallocated instance 0x90e0b60
problem when try to set image to my imageView.
Help please
Look like what you release app.image or somewhere. May be you have extra
CGImageRelease(app.image.CGImage);
or
[app.image release]
Note, what you don't need release image after ALAsset.fullResolutionImage and fullScreenImage method
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With