I have added UITapGestureRecognizer to UIImageView, which is in UITableViewCell, UITapGestureRecognizer handler is in UITableViewCell‘s FileOwner.
When I tap on the UIImageView the handler method is being called and its parameter also has UIImageView but when I check imageview.image, I find that imageview doesn’t have any image: where it has gone?
Thanks hp…I was doing the same but it didn’t worked for me…Now I am doing this by Using
UIButtoninstead ofUIImageView. I attached the handler with button, set thebutton.backgroundImageand then got the image anywhere, I wanted… Thanks anyway. 🙂