UICollectionViewCell内部的UITableView以编程方式

时间:2016-12-29 07:35:02

标签: objective-c uitableview uicollectionviewcell

当我在布局子视图中设置

时,

tableView布局覆盖

CollectionCell *cell = (CollectionCell *)[collectionView dequeueReusableCellWithReuseIdentifier:@"CollectionCell" forIndexPath:indexPath];

    dictNoti = [[NSMutableDictionary alloc]init];

    cell.pageIndex = indexPath.row;
    cell.checkGoButton = YES;
    cell.tblViewCltn = [[UIView alloc]init];
    [cell.tblDetailView layoutIfNeeded];
    [cell.tblDetailView setNeedsLayout];
    cell.dataArr = collectionData;

0 个答案:

没有答案