简体   繁体   中英

Sharing an image using parse.com

I would like to share an image between two users using parse.com. My original idea was to simple pass the image url from the first user to the second to view/download. I have no issue uploading the image to parse.com , however I can't work out how to return the url. Is it possible to return the url?

There seems to be a solution for this on android Get link to image file at Parse.com but I can't find one for iphone.

Thanks in advance

In the Image save example of Parse.com, I found the image url.

In - (void)setUpImages:(NSArray *)images method,

PFFile *theImage = [eachObject objectForKey:@"imageFile"]; will return image file object with its URL.

Hope this will help you.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM