Re: Invalidating UIImageView's image cache

2020-09-22 Thread Alex Zavatone via Cocoa-dev
It’s probably getting the same image from within the bundle based on the path. > On Sep 22, 2020, at 8:12 PM, Eric Lee via Cocoa-dev > wrote: > > Ah maybe it is the use of `imageNamed:`. I believe that caches the image > data in a system cache. Have you tried `imageWithContentsOfFile:`? >

Re: Invalidating UIImageView's image cache

2020-09-22 Thread Eric Lee via Cocoa-dev
Ah maybe it is the use of `imageNamed:`. I believe that caches the image data in a system cache. Have you tried `imageWithContentsOfFile:`? https://developer.apple.com/documentation/uikit/uiimage/1624123-imagewithcontentsoffile > On Sep 22, 2020, at 16:56, Carl Hoefs wrote: > > >> On Sep

Re: Invalidating UIImageView's image cache

2020-09-22 Thread Carl Hoefs via Cocoa-dev
> On Sep 22, 2020, at 1:46 PM, Eric Lee via Cocoa-dev > wrote: > >> I don't have a good answer, but I think this may be more that UIImage caches >> the images, not UIImageView. Maybe you can find something in UIImage's >> docs/headers? > > I think you may be on to something. This WWDC >

Re: Invalidating UIImageView's image cache

2020-09-22 Thread Eric Lee via Cocoa-dev
> I don't have a good answer, but I think this may be more that UIImage caches > the images, not UIImageView. Maybe you can find something in UIImage's > docs/headers? I think you may be on to something. This WWDC session covers