hi @ all,
I have the follow problem:
I declared in my interface section of header file a image UIIMage * myimage;
In the touchesBegan into the .m file, I initialize
the myimage using
Quote:
UIGraphicsBeginImageContext(viewDisegno.frame.size );
[myimageview.image drawInRect:CGRectMake(0, 0, myimageview.frame.size.width, myimageview.frame.size.height)];
myimage=UIGraphicsGetImageFromCurrentImageContext( );
UIGraphicsEndImageContext();
|
..
After I use the variable myimage in a method IBACTION to set the image of a UIImageView :
myimageview.image=myimage;
Now I receive a signal: “EXC_BAD_ACCESS”
Thanks for your help
Arfius