开发者

storing images in iphone application

im making an application that store multipe information like name descripti开发者_C百科on images for each entity. ( large number of entity). I have an issue in storing images in for this application. whats the best way to store them. database or document directory. and also im affraid that the images will increase the size of my application. waiting for your advises. thx


For binary data, use a file bases approach. If you want to manage them with a database (i.e. Core Data), just store the filenames and any meta data you want to handle in the database.


SQLite supports blobs. I don't know the wisdom of using it as an actual store for image data--I imagine its performance would depend a lot on the real world particulars of your usage--but it's an option.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜