そのボタンをクリックすると、ボタンアクションでそのボタンのタイトルが表示されるはずです。
if (tableView==groupTableView) {
GroupData*theData=[groupArray objectAtIndex:indexPath.row];
cell.textLabel.font=[UIFont fontWithName:@"Helvetica" size:16];
cell.textLabel.text=theData.GroupTitle;
addButton = [UIButton buttonWithType:UIButtonTypeCustom];
//[tab1 setFrame:CGRectMake(-1,2,293,58)];
addButton.Frame=CGRectMake(400,2,42,42);
[addButton setTitle:@"Record Video" forState:UIControlStateNormal];
[addButton addTarget:self action:@selector(tab1Action) forControlEvents:UIControlEventTouchUpInside];
[addButton setImage:[UIImage imageNamed:@"popuptab1j.png"] forState:UIControlStateNormal];
addButton.clipsToBounds=YES;
[cell addSubview:addButton];
return cell;
}
-(void)tab1Action {
NSLog(@"Cell Tab1 Clicked %@",clicked);
}
この追加ボタンをクリックすると、選択したボタンの groupTitle が表示され、ボタンがクリックされたセルのグループタイトルが表示されます。