I have a tableview cell with a custom image in the imageview of the cell. However, sometimes if you tap on the image (a checkbox), it taps on the actual cell instead of the image. I want to make it so if you tap part of the cell around the image, the checkbox is checked instead of the actual cell. How would I do this?
This is some code..
-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
cell.imageView.image = [UIImage imageNamed:@"unchecked.png"];
The image is a 28x28 image.