作者:mobiledu2502900917 | 来源:互联网 | 2023-02-05 16:47
-(void)tableView:(UITableView*)tableViewdidSelectRowAtIndexPath:(NSIndexPath*)indexPath{UI
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
UITableViewCell * cell = [tableView cellForRowAtIndexPath:indexPath];
cell.selectiOnStyle= UITableViewCellSelectionStyleNone;
}
在这个函数里写上cell.selectiOnStyle= UITableViewCellSelectionStyleNone;就ok了