ios - Nested UICollectionView and Responder chain -


i have 2 uicollectionvews

  • one of them (the parent one) full-screen-cell paginated collection view.

  • the other 1 (the child one) filter inside "page" both have same scroll direction

my problem when i'm scrolling child one, , reaches end, parent 1 starts moving. , avoid that. tried many things

*scrollview delegates *touchesbegan

any ideas? thanks!

i think it's easy . set parent uicollectionview

collectionview.scrollenabled = no; 

or sounds unreasonable . if parent uicollectionview scroll, how archive goal? because uicollectionview consisted of cells (the child one). cell affect parent uicollectionview inevitably.

maybe child 1 located in part of cell , use

uiscrollviewdelegate's method: scrollviewdidscroll , set parent collectionview's scrollenabled property.


Comments

Popular posts from this blog

javascript - Create a stacked percentage column -

Optimising Firebase database by automatically overwriting data -

javascript - Angular UI-Grid customTemplate directive causing rows to load slowly/? -