That looks like a problem to me: if (location. X >= imageView.frame.origin. X && location.
X height.
Rather than fool around with checking coordinates against a bounding rect, why don't you simplify things by using interface building to place a custom (i.e. Invisible) UIButton right over the image? Then you can hook up touchesUpInside to an IBAction method.
Then there's no awkward if statements in your code and less chance of making mistakes like this.
Consider using an UIButton instead. Button setImage:UIImage imageNamed:@"heart1. Png" forState:UIControlStateNormal; button setImage:UIImage imageNamed:@"heart2.
Png" forState:UIControlStateghlighted.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.