I know that this is a very commonly asked question, but all of the answers on every website don\'t work! If you still don\'t know what I mean, then maybe this line of code will
You have to set userinteractionEnabled = YES for all your UIImageViews otherwise they will not receive touch events. Also change the line:
UITouch *touch = [[event allTouches] anyObject];
to
UITouch *touch = [touches anyObject];