以下のコードで判定できる。
CGPoint touchLocation = [touch locationInView:self]; if (CGRectContainsPoint(myImageView.frame, touchLocation))
参考:http://stackoverflow.com/questions/2221367/comparing-a-uitouch-location-to-uiimageview-rectangle
以下のコードで判定できる。
CGPoint touchLocation = [touch locationInView:self]; if (CGRectContainsPoint(myImageView.frame, touchLocation))
参考:http://stackoverflow.com/questions/2221367/comparing-a-uitouch-location-to-uiimageview-rectangle