Any way to get a Cached UIImage from my 'Documents' directory?

后端 未结 4 1365
既然无缘
既然无缘 2021-02-04 17:58

I know that the -imageNamed: method returns a Cached UIImage, but the problem is that my image file is stored in \'Documents\', and the -imageNamed: method seems to only search

4条回答
  •  太阳男子
    2021-02-04 18:41

    What about writing your own image cache? You have all the pieces in place, now you just need to encapsulate it and keep a record of images you've already loaded.

提交回复
热议问题