我需要实现一些功能,一个5-6图像的collectionview,在collectionview中的每个单元格都有一个占位符,每个单元格项目是一个照片选择器或相机选项
在底部,我需要在表视图中,我需要从用户输入使用文本字段。
示例如下所示。

发布于 2016-01-26 15:39:44
在您的-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath方法中,只需将第一个单元格设置为集合视图。
UICollectionView *myCollectionView = [UICollectionView new];
myCollectionView.delegate = self;
// Configure your collection view ...
if (indexPath.row == 0)
{
return myCollectionView;
}这段代码并不干净,它只是为了给你一个提示。
https://stackoverflow.com/questions/35008723
复制相似问题