You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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.
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
The text was updated successfully, but these errors were encountered: