开发者

insert image of BLOB format+iphone

开发者 https://www.devze.com 2023-02-26 19:28 出处:网络
I have one sqlite database 开发者_开发百科which has one table in which I store the image id and image which datatype is BLOB I don\'t know how to insert image through database side any ideas?

I have one sqlite database 开发者_开发百科which has one table in which I store the image id and image which datatype is BLOB I don't know how to insert image through database side any ideas? Thank you


while saving other data in database with that you can save image too using sqlite3_bind_blob.


YEs friend you can insert image using NSData type...

0

精彩评论

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