1.本例采用默认cell,最简化处理


2.弹出提示款,输入东西


3.改后;

4.滑动之后又变回来,这是因为采用了cell.textLabel.text = [NSString stringWithFormat:@"%ld",indexPath.row]; 这个,锁以滑动后从新显示回变回来,实际中采用数据库的值改变数据库的值不会发生这样的情况;

1.本例采用默认cell,最简化处理
2.弹出提示款,输入东西
3.改后;
4.滑动之后又变回来,这是因为采用了cell.textLabel.text = [NSString stringWithFormat:@"%ld",indexPath.row]; 这个,锁以滑动后从新显示回变回来,实际中采用数据库的值改变数据库的值不会发生这样的情况;
本文标题:选中tableview的cell,更改cell里的数据
本文链接:https://www.haomeiwen.com/subject/bmwgsttx.html
网友评论