开发者

Binary Data in sqlite database versus Image in Applications Folder or Storing images from internet

I was just thinking what is the best way to keep images in IPhone/iPad (XCODE) application if I'm getting them from internet dynamically. My main concern is if I'm storing it in my database as Binary开发者_JAVA技巧 data, will it decrease my efficiency when creating the queries to database?

In that case is it better to store them in Application's folder?

Thanks for responds.


Apple dev forums has some good discussion on this. A good post can be found here. General guideline from the post: less than 16kb data blob ok, 100k ok as well, approaching 1MB and it is better to store outside of Core Data or any database.

In terms of fetching performance, it will boil down to how you have normalized your data model.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜