UICollectionView inside of UIScrollView

后端 未结 1 511
忘了有多久
忘了有多久 2020-12-21 02:44

I have a

  • UIScrollView
    • Labels
    • Labels
    • UICollectionView

I have disabled the UICollectionViews scrolling funct

相关标签:
1条回答
  • 2020-12-21 03:34

    So my suggestion would be to use a single UIScrollview. Create your own view (we'll call it A) with whatever you are trying to repeat in the Collection view and addSubview A to the UIScrollview over and over for however many times you want.

    Another way that just came to mind would be to use entirely a collectionview create two collectionviewcells, one that has your labels and you only display it for the first cell and the other collectionviewcell for all the others

    0 讨论(0)
提交回复
热议问题