开发者

iPhone storing large amounts of images

I have a large amount of images that correspond to records in a sqlite db. where should I store them? I have 3 versions of the same image - large, me开发者_开发技巧d, thumb sizes. (I don't want to store them in the db table, but reference them instead from each record)

all the images have the same name - each small, med and large image files would all be called "1.jpg" for record 1 in the sqlite table etc... this is mainly because I'm using an image batch resizing program that retains the same file name and creates a new folder.

thanks for any help.


For my cached images, I stored them in TMP folder, you can access using NSTemporaryDirectory.

I don't know if it is good for your cases or if it is good in general but it works quite well

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜