This is a trick I use a lot in android:
- I take an image with Image Picker: camera or gallery
- I put the image in an ImageView
- I also put the image url in the ImageView, in the tag field
- so later when I need the url of an image (to send to server), I grab it from the imageView's tag.
But tag in iOS is a bit different from android: in iOS it's just a number. So is there such a way of piggybacking on an UIButton on iOS: basically any field whatsoever that is available for storing a text and which the user cannot see?