store images into sqlite database

后端 未结 4 1764
既然无缘
既然无缘 2021-01-24 08:08

Below is my code to store images in the sqlite database. When I used it to store values it works and now I\'m trying to store images in sqlite database. I don\'t know what I\'m

4条回答
  •  没有蜡笔的小新
    2021-01-24 08:43

    I answered a similair question with this answer: It's better if you use CoreData instead. It will be much easier for you to work with CoreDate instead of SQL. CoreData is pretty much an SQL database in a nice wrapper.

    If you use iOS 5 you could easily add images to the database without having to worry about them being BLOBS (Binary Large Object) by checking "Allows External Storage".

提交回复
热议问题