objective c - How to load an image from Parse into a UIImageView (iOS) -


I can really ask for something easier, but I can not manage to find a tutorial or example that will help me. / P>

How do I remove the string data from the pars and now I am trying to retrieve an image, it will be easy to think .. But I can not understand it.

I'm trying to load 1 image in UIImageView (which I will change every day), retrieving the image from my data browser in Parse.com.

Can anyone help please?

Here's what I did:

  - (zero) viewDidoadload {[Super Viewedload]; [Self executable selector: @selector (retrieveprorsy)]; } - Recover (zero) Proposers {PFQuery * retrieveImage = [PFQuery query world code: @ "outfitDay"]; [Objects to find retrieval imageGramswithblocks: ^ (NSArray * objects, NSERR * error) {if (error!) {LoadimageArray = [[NSArray alloc] initWithArray: objects]; }}]; }  

I am missing part where you point to UIImageView to load that information.

Thanks in advance!

You can set the image in UIImageView with the help of this code. If you want to experiment with image in image view, you can try this code of URL. You must download the SDWebImages library for this.

NSLog (@ "% @", teaserImage.url); [Set your image view image with url: [NSURL URLWithString: [teaserimage url]]];

And if you use the image form URL If you do not want to download it, you will have to convert this PF file to NSDT and then convert it to UIImages


Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -