11

se if (indexPath.row == 8){

        UITableViewCell *cell8 = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleSubtitle reuseIdentifier:@"cell8"];

        cell8.textLabel.text = @"商品/服务列表";

        

        if (detailInfo.leisiGroupTitleArr.count != 0) {

            

            NSString *string = [detailInfo.leisiGroupTitleArr componentsJoinedByString:@","];

            cell8.detailTextLabel.text = string;

            cell8.detailTextLabel.adjustsFontSizeToFitWidth = YES;

        }

        

        return cell8;

原文地址:https://www.cnblogs.com/dexjay/p/4836795.html