ios - DidSelectItemAtIndexPath not called for UITableView inside UIScrollView -
my self.view
has uiscrollview
subview. uiscrollview
has container uiview
, holds many uitableview
's subviews. these subviews configured using autolayout constraints.
so scrollview horizontally scrollable. have uilongpressgesture
inside uiscrollview
.
my problem didselectitematindexpath
not called while tapping on cells inside uitableview
. have set canceltouchesinview
no
uilongpressgesture
still didselectitematindexpath
doesn't called.
i don't want add uitapgesturerecognizer
uiscollview
, manually trigger didselectitematindexpath
, since i'm doing operations in uitableview
delegate methods.
how can make uitableview
responds of delegate methods ?
Comments
Post a Comment