Tuesday, 15 September 2015

ios - UITapGestureRecognizer in Subview of UITableViewCell -



ios - UITapGestureRecognizer in Subview of UITableViewCell -

i have 2 subclassed uitableviewcells. first (normalcell) used default reusable cell , sec (detailcell) inserted when user taps on existing cell. detailcell has many subviews in contentview, of have programmatically added uitapgesturerecognizers. works fine have problem.

if while detail cell open , 1 of gesture recognizers called upon, then, after remove detail cell, if tap on cell, didselectrowatindexpath not called. if tap sec time called. perchance caused added gesture recognizers? have seen people here on not problem add together gesture recognizers subviews of uitableviewcells curious that.

i appreciate help, in advance.

edit

i have tried removing gesture recognizers subviews when removing cell table, didn't alter anything. suspicion problem created when gesture recognizer used.

also, tried changing target of gesture recognizers view controller see if problem, didn't work either. problem type of gesture recognizer using tap recognizer? conflict default recognizers of cells?

ios uitableview uitapgesturerecognizer

No comments:

Post a Comment