UICollectionViewCell中的UICollectionView [英] UICollectionView in a UICollectionViewCell

查看:64
本文介绍了UICollectionViewCell中的UICollectionView的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有兴趣将集合视图作为集合视图单元的一部分,但由于某种原因无法弄清楚如何完成此操作。我将在哪里实现细胞收集视图的必要方法?

I am interested in having a collectionview as a part of a collection view cell but for some reason cannot figure out how this would be done. Where would I implement the necessary methods for the cells collectionview?

推荐答案

Ash Furrow写的一篇文章,解释了如何在 UITableViewCell中放置 UICollectionView 。在 UICollectionViewCell 中使用它时基本上是一样的想法。

There's an article that Ash Furrow wrote that explains how to put an UICollectionView inside an UITableViewCell. It's basically the same idea when using it inside an UICollectionViewCell.

这篇关于UICollectionViewCell中的UICollectionView的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆