I am fairly new to both Swift and Parse, and I am trying to display an image I have uploaded to Parse (through Parse, not through my app) in my app as a UIImageView. The idea is that I will be able to change the image via Parse if I want and display it in the same single UIImageView in the app -- literally just need the code to retrieve an image in Parse to UIImageView.
I have searched for ages for an answer to this but have not found one, even though it seems like it should be so easy; maybe it's just my frustration that is stopping me from doing it!? I have been able to query string before from Parse for instance, but cannot find a way to do so with an image file and I am now at the point where I don't even know where to start with the code!
An answer would be greatly appreciated!!!
You were on the right track using a query. Try this:
Oh, and FYI the image itself will be a pffile. This code will retrieve the pfobject for you then you can get the pffile from that.