UICollectionView滚动问题

我正在开发一个由UITableView上的UICollectionViews组成的iPhone应用程序

使每个集合水平滚动。 除了当我开始滚动每个UICollectionView UICollectionViewCell方法被重用时,所有的步骤都是完美的

我遇到了下面图片中的标签问题 在这里输入图像说明

我在滚动表格视图的每个集合的标题面对这个问题,我做到了这一点

 NSString *CellIdentifier = [NSString stringWithFormat:@"CellId%d%d",indexPath.row,indexPath.section]; TableViewCell *cell = (TableViewCell *)[tableView dequeueReusableCellWithIdentifier:CellIdentifier]; if(!cell) { cell = [[TableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier]; } 

我为每个单元分配了唯一的标识符,有什么build议可以帮忙? 🙂

cellForRoAtIndexPath方法中添加此代码

 for (UIView *v in [cell subviews]) [v removeFromSuperview]; 

告诉我,如果它的工作或不:)