自定义cell,button,tableView
UITableView *cell = (UITableView *)[[self.btn superview] superview] ; NSIndexPath *index = [self.tableView indexPathForCell:cell]; NSLog(@"index is = %li",(long)index.row);
时间: 2024-10-03 23:02:30
自定义cell,button,tableView
UITableView *cell = (UITableView *)[[self.btn superview] superview] ; NSIndexPath *index = [self.tableView indexPathForCell:cell]; NSLog(@"index is = %li",(long)index.row);