UITableView 내에서 선택된 셀의 내용 알기
-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
NSUInteger sRow = [indexPath row];
NSString *sValue = [self.DataList objectAtIndex:sRow];
NSLog(@"Select Cell : %@", sValue);
[tableView deselectRowAtIndexPath:indexPath animated:YES];
}
NSUInteger sRow = [indexPath row];
NSString *sValue = [self.DataList objectAtIndex:sRow];
NSLog(@"Select Cell : %@", sValue);
[tableView deselectRowAtIndexPath:indexPath animated:YES];
}
댓글
댓글 쓰기