i’m using the following code to get the selected cell in the UiTableView
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath];
// Mofify the cell here
}
when i change the cell text or color it does not make any change in the actual UitableView
I would suggest that you reload the cell. Use:
You should keep track of which cell was selected, and update the cell in
I don’t know why the text isn’t updating for you when you change it in
but even if you get it to work, it will revert if you scroll that cell off the screen.