怎么遍历tableview里的cell,并修改cell里的控件

2025-04-26 09:56:17
推荐回答(1个)
回答1:

- (void)selectRowAtIndexPath:(NSIndexPath *)indexPath animated:(BOOL)animated scrollPosition:(UITableViewScrollPosition)scrollPosition;- (void)deselectRowAtIndexPath:(NSIndexPath *)indexPath animated:(BOOL)animated;滚动到cell位置可以设置tableview.contentOffset