标签:
- (void)didclickBtn_edit:(UIButton *)sender event:(UIEvent *)event
{
UITouch *touch = [[event allTouches] anyObject];
CGPoint currentTouchPosition = [touch locationInView:self.tableview_showdata];
NSIndexPath *indexPath = [self.tableview_showdata indexPathForRowAtPoint: currentTouchPosition];
if (indexPath != nil)
{
NSLog(@"%ld,%ld",indexPath.row,indexPath.section);
}
}
标签:
原文地址:http://www.cnblogs.com/yinyakun/p/4314102.html