Ha! I actually tried both of your suggestions, but without avail.
It turns out that calling [setImage: imageProperties:] is happiest to be called from the main thread. Calling it by using performSelectorOnMainThread: works. jt On Thu, Jan 15, 2009 at 2:51 AM, Graham Cox <graham....@bigpond.com> wrote: > > 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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com