Re: IKImageView setImage only works once.
Re: IKImageView setImage only works once.
- Subject: Re: IKImageView setImage only works once.
- From: Graham Cox <email@hidden>
- Date: Thu, 15 Jan 2009 12:51:21 +1100
On 15 Jan 2009, at 12:22 pm, James Trankelson wrote:
Well, judging from how often ImageKit questions appear to be answered
here, my expectations aren't high, but here goes anyway...
I'm using an IKImageView and calling setImage to set its contents.
The problem is that setImage only works the first time. Subsequent
calls don't update the image. The first always remains.
Any ideas?
IKImageView doesn't implement -setImage:
It has -setImage:imageProperties: and -setImageWithURL:
Did you mean one of these?
You may need to call -setNeedsDisplay:YES also after setting the image
(the docs are silent on this point but other ImageKit classes need
this call for some operations - they don't necessarily flag the needed
update internally).
any help?
--Graham
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden