I could ask for something very simple, but I will not be able to find a textbook or an example that would help me.
I learned how to extract string data from Parse, and now I'm trying to get the image, thinking it will be easier .. but I can not understand.
I am trying to upload 1 image (which I will change every day) to UIImageViewby extracting the image from my data browser on Parse.com.
Did anyone help?
Here is what I did:
- (void)viewDidLoad {
[super viewDidLoad];
[self performSelector:@selector(retrieveFromParse)];
}
- (void) retrieveFromParse {
PFQuery *retrieveImage = [PFQuery queryWithClassName:@"outfitDay"];
[retrieveImage findObjectsInBackgroundWithBlock:^(NSArray *objects, NSError *error) {
if (!error) {
loadimageArray = [[NSArray alloc] initWithArray:objects];
}
}];
}
I am missing the part where you point UIImageViewto download this information.
Thanks in advance!
source
share