title: When i touch the button inside the tableview it automatically goes to TabGesture method, but i want button touch method?
body: <p>Currently i am working simple iPhone application, Using UITableview to enter the field like Emp_Name, Emp_Salary etc.. and using UIButton to set a image like checkbox and set target and perform selector,
  When i touch the checkbox button, it automatically comes to UITabGesture method but not comes inside the button touch method. how to fix this, please help me</p>
  
  <p>I tried the source code:</p>
  
  <pre><code>- (void)viewDidLoad
  {
      [super viewDidLoad];
   UITapGestureRecognizer  *recognizer = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(handleSwipeFrom:)];
      [recognizer setNumberOfTouchesRequired:1];
      recognizer.cancelsTouchesInView = NO;
      [[self view] addGestureRecognizer:recognizer];
      [recognizer release]; 
  }
  
  -(void)handleSwipeFrom:(UISwipeGestureRecognizer *)recognizer // TabGesture method
  {
      NSLog(@"Tab received.");
  }
  
  
  -(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
  {
      static NSString *CellIdentifier = @"Cell";
  
      UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
      cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] autorelease];
      cell.selectionStyle = UITableViewCellSelectionStyleNone;
  
  
   if (indexPath.section == 0 &amp;&amp; indexPath.row == 0) 
      {
  
  
          perlessonCheckButton = [UIButton buttonWithType:UIButtonTypeCustom];
          perlessonCheckButton.frame = CGRectMake(5, 5, 30, 30); 
          [perlessonCheckButton setImage:[UIImage imageNamed:@"tickAltered1.png"] forState:UIControlStateNormal];
          [perlessonCheckButton addTarget:self action:@selector(showPerLessonOptions) forControlEvents:UIControlEventTouchUpInside];
          [perlessonCheckButton setBackgroundColor:[UIColor lightTextColor]]; 
          [perlessonCheckButton setUserInteractionEnabled:NO];
          [cell.contentView addSubview:perlessonCheckButton];
  
      }
  }
  
  
  
  -(void) showPerLessonOptions // Button method
  {
      [perlessonCheckButton setUserInteractionEnabled:NO];
      [flatFeeCheckButton setUserInteractionEnabled:YES];
  
      [perlessonCheckButton setImage:[UIImage imageNamed:@"tickAltered1.png"] forState:UIControlStateNormal];
      [flatFeeCheckButton setImage:[UIImage imageNamed:@"untickAltered1.png"] forState:UIControlStateNormal];
  }
  </code></pre>