I don\'t know if this is possible but I think it could be possible and I dont know how to do this. I simply want to load an image from parse.com like you retrieve objects fr
Yes, this is possible. If you use web interface to instead of string you should specify PFFile as a type. If you upload image from your iOS client here is a link to parse iOS guide how to do that https://parse.com/docs/ios_guide#files/iOS . Once your image is there you can download image this way:
PFQuery *query = [PFQuery queryWithClassName:@"app"];
[query getObjectInBackgroundWithId:@"ID"
block:^(PFObject *textdu, NSError *error) {
{
// do your thing with text
if (!error) {
PFFile *imageFile = [textdu objectForKey:@"image"];
[imageFile getDataInBackgroundWithBlock:^(NSData *data, NSError *error) {
if (!error) {
UIImage *image = [UIImage imageWithData:data];
}
}];
}
}];