I have subclass UITableViewCell like this.
- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event
{
UITouch* touch = [touches anyObject];
CGPoint point = [touch locationInView:self];
[super touchesEnded:touches withEvent:event];
}
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
{
UITouch* touch = [touches anyObject];
CGPoint point = [touch locationInView:self];
[super touchesBegan:touches withEvent:event];
}
If you tap on the first 10 or 20 point of the tableview you will get a touchesBegan and touchesEnded after finger release.
If you do that after x position 20 then you get touchesBegan on tap and touchesEnded on finger release.
What's wrong with the very left space?