您的位置:首页 > 其它

点击tablecell中的一个按钮,确定cell所在的行

2013-12-12 10:41 267 查看
- (void) del:(UIButton *) button {
NSLog(@"%s",__FUNCTION__);
UITableViewCell * cell = (UITableViewCell *) [[button superview] superview];
NSIndexPath * path = [self.favouriteTableView indexPathForCell:cell];
NSLog(@"index row = %d",path.row);
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐