Person.image=data;
Person.image is of type NSData,it get data and i can show the image but i can't insert the image in sqlite That code doesn't work
NSString* requete2=[NSString stringWithFormat:@"insert into Person values('%@','%@','%@')",Person.name,Person.lastName,Person.image]; [_DB executeQuery:requete2];
DB Error: unknown error can some one give me a solution or an other method to insert it
Aucun commentaire:
Enregistrer un commentaire