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
const char *insertSQL="insert into Persons(PersonName,CompanyName,ImgUrl,PersonImage)values(?,?)"
You have 4 values to insert into your table & only 2 placeholders for the parameters. Correct them.
Heck I ain't an iOS developer