有的时候你会沮丧的发现
cell.textLabel不为空, cell.detailTextLabel=nil.这是因为初始化时
UITableViewCellStyle设置的不对。UITableViewCellStyle设置成下面的试试
UITableViewCell *cell = [[UITableViewCell alloc]initWithStyle:UITableViewCellStyleValue1 reuseIdentifier:indenfiter];
cell.textLabel不为空, cell.detailTextLabel=nil.这是因为初始化时
UITableViewCellStyle设置的不对。UITableViewCellStyle设置成下面的试试
UITableViewCell *cell = [[UITableViewCell alloc]initWithStyle:UITableViewCellStyleValue1 reuseIdentifier:indenfiter];