ios - UIScrollView contained inside of UICollectionViewCell not passing touch event to the CollectionView cell -
i have uiscrollview inside uicollectionviewcell can zoom image within scrollview. when click image collectionviewcell receive event , pass uicollectionview delegate.
i tried adding following uigesturerecognizerdelegate container of uiscrollview:
-(bool)gesturerecognizer:shouldreceivetouch:
according answer read touch event should passed on parent view - in case collectionviewcell, isn't happening.
what should do?
edit please note i'm not trying pinch zoom inside cell rather able receive touch events of cell.
thats question having same problem. way uicollectionviewcell respond touches (intercepted uiscrollview) set
userinteractionenabled = no
on scrollview.
Comments
Post a Comment