如何通过UICollectionView及其单元格传递水平滚动?

时间:2015-01-09 10:04:01

标签: ios objective-c uicollectionview uicollectionviewcell

我有一个UICollectionView,它在顶部有一个清晰的单元格,用于显示下面的UIScrollView。 UIScrollView应向左/向右平移。如何将左/右滚动向下传递到UIScrollView,同时仍允许在整个UICollectionView上上/下滚动?

-------------------  < Clear cell in clear UICollectionView
|                 |    with clear background.
|        A        |    UIScrollView with 3 pages is behind
|                 |    the UICollectionView. Allow scroll left/right
|       ...       |    for pages and up/down for table.
-------------------
|                 |
|        B        |  
-------------------  < Normal UICollectionView cells
|        |        |
|        |        |
|   C    |   D    |
|        |        |
-------------------

0 个答案:

没有答案