I've created an object called "PictureView", it contains a UIImage called pictureImg (for the image I want to display) and creates a frame based on the size of the image, at my chosen X,Y.
I've created 4 of these and added them as subviews to my view.
I have been trying to change the image they display, to no avail.
Should I be able to change the image in my instance, and watch my subview update, or do I need to re-add the subview once the image has been changed?
If I try to change images, I get several error messages in the console;
<Error>:CGContextSaveGState: invalid context
<Error>:CGContextSetBlendMode: invalid context
<Error>:CGContextSetAlpha: invalid context
<Error>:CGContextTranslateCTM: invalid context
<Error>:CGContextDrawImage: invalid context
<Error>:CGContextRestoreGState: invalid context
Any ideas what this means?
I've created 4 of these and added them as subviews to my view.
I have been trying to change the image they display, to no avail.
Should I be able to change the image in my instance, and watch my subview update, or do I need to re-add the subview once the image has been changed?
If I try to change images, I get several error messages in the console;
<Error>:CGContextSaveGState: invalid context
<Error>:CGContextSetBlendMode: invalid context
<Error>:CGContextSetAlpha: invalid context
<Error>:CGContextTranslateCTM: invalid context
<Error>:CGContextDrawImage: invalid context
<Error>:CGContextRestoreGState: invalid context
Any ideas what this means?