1.第一种
staticNSString* ID =@"cell";
UITableViewCell* cell = [tableViewdequeueReusableCellWithIdentifier:ID];
if(cell ==nil) {
cell = [[UITableViewCellalloc]initWithStyle:UITableViewCellStyleSubtitlereuseIdentifier:ID];
}
第二种
1.第一种
staticNSString* ID =@"cell";
UITableViewCell* cell = [tableViewdequeueReusableCellWithIdentifier:ID];
if(cell ==nil) {
cell = [[UITableViewCellalloc]initWithStyle:UITableViewCellStyleSubtitlereuseIdentifier:ID];
}
第二种