iOS 去掉指定或者某一行的cell下划线
//    这是全部去掉
_tableviewitem.separatorStyle = UITableViewCellSeparatorStyleNone;
//这个是指定去掉
_tableviewitem.tableFooterView = [[UIView alloc] initWithFrame:CGRectZero];//在创建tableview那里
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
//只保留前5行的下划线
     if (indexPath.row>5) {
        cell.separatorInset = UIEdgeInsetsMake(0,fDeviceWidth, 0, 0);
    }
}
 
                     
                    
                 
                    
                 
                
            
         浙公网安备 33010602011771号
浙公网安备 33010602011771号 
