我有一个包含3个视图的ViewController:
在我的UIView3中,我有一个collectionViewController。一个关键因素是我把我的 collectionViewController.scrollEnable = False ,因为在我滚动的时候,只有UIView3滚动,我希望我的entier屏幕滚动(这样如果我们滚动足够我的标题和标签栏被隐藏。
所以这就是我所拥有的:
这就是我的屏幕的样子:
哪个是完美的。 但是,当我向下滚动时,这就是应该的样子:
但是,它看起来像这样:
我认为我的问题来自" dequeueReusableCellWithReuseIdentifier"没有看到我滚动的功能,但我不知道如何刷新"滚动值,因此它加载单元格3-4的末尾以及单元格5-6。
你知道吗?