开发者社区 问答 正文

(IOS新手)UITableViewCell 添加,响应UIButton ,定位到哪一个Cell

UITableViewCell 添加,响应UIButton ,如何定位到哪一个Cell?

展开
收起
a123456678 2016-07-27 15:10:51 2014 分享 版权
2 条回答
写回答
取消 提交回答
  • 给uibutton的tag属性附值indexpath.row

    2019-07-17 20:00:39
    赞同 展开评论
  • - (void)collectionView:(UICollectionView *)collectionView didSelectItemAtIndexPath:(NSIndexPath *)indexPath;
    2019-07-17 20:00:38
    赞同 展开评论