'How to pull saved images from Parse.com into my app
I would like to save some images in Parse Server and like to pull it down into my iOS app. Any idea how to do it?
Solution 1:[1]
Use a PFImageView where you'd normally use a UIImageView. Give it the PFFile for the image you wish to display, then call loadInBackground.
PFFile *imageFile = [pfObject objectForKey:@"image"];
PFImageView *imageView = [[PFImageView alloc] init];
imageView.file = imageFile;
[imageView loadInBackground];
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Héctor Ramos |