2012-12-01 54 views

回答

3

请检查您是否映射动作来回您的按钮,并继续与这个..

-(void)yourButtonClicked:(id)sender { 
    CustomCell *clickedCell = [[sender superView]superView]; 
    NSindexPath *indexPath = [YourTableViewObject indexPathForCell:clickedCell]; 
    NSLog(@"%d %d",indexPath.section,indexPath.row); 
} 

这里你得到行为您点击的单元格。

Th你可以很容易地改变你的标签文本..通过

clickedCell.yourLabel.text = @"Your string"; 
相关问题