I am making an App in which i am parsing an XML and storing the url of images in an array.
Now i have to show all that images on next View Controller using Tap Gestures and when i click on images i have some action to perform. So please can anyone help me regarding that?
I can provide the code what i have written if anyone want or tell me some tutorial as i am not able to get it from developer sites.
I am making an App in which i am parsing an XML and storing
Share
Load your images into UIImage objects like so:
Then, place them into UIImageView objects wherever you need them. The next thing you should do is add a TapGestureRecognizer:
And that’s it. Do whatever you need in the “action” method that will get called on your ViewController