Skip to content

imageNamed is evil « Under The Bridge

UIImage imageNamed is nice that it caches, but w/o being able to control when it clears the cache, it can be trouble.

However, as this example (below) shows, there’s an easy way to avoid the imageNamed cache, create your own references and clear it when you’d like.

via imageNamed is evil « Under The Bridge.