ExpandableCell icon indicating copy to clipboard operation
ExpandableCell copied to clipboard

didSelectRowAt: and other selection methods not calls without definition shouldHighlightRowAt:

Open DeleteMyAccount728 opened this issue 6 years ago • 3 comments

Can try it on ExpandableCellDemo, if comment this method: func expandableTableView(_ expandableTableView: UITableView, shouldHighlightRowAt indexPath: IndexPath) -> Bool { return true } then all cells will not be selectable. Conclusion, that shouldHighlightRowAt: required for cells selection

DeleteMyAccount728 avatar Oct 10 '18 04:10 DeleteMyAccount728

Thank you man

Dilan1020 avatar May 03 '19 23:05 Dilan1020

Thanks

alauthor avatar Nov 12 '19 10:11 alauthor

This is the only place on the Internet (unbelievably) that I have managed to find out that didSelectRowAt will not be called if shouldHighlightRowAt is false. Why this is the case, I do not know. Cell highlighting looks awful.

bennyjamone avatar Nov 11 '22 13:11 bennyjamone