Why does hasHighlightRowAtIndexPath cause scroll to stop in UITableview
I have UITableView
, and if I implement didHighlightRowAtIndexPath
and didUnhighlightRowAtIndexPath
in my dedet, I get different scrolls than if I hadn't implemented them.
Usually you can press and hold a button UITableViewCell
and it will highlight, and then if you put your finger up or down on the screen, the highlight will be canceled and your table view will scroll in that direction.
If you implement didHighlightRowAtIndexPath
, then the cell is highlighted, but when you move up and down, the list does not scroll, but the cell is highlighted / not highlighted when your finger moves in and out of the cell.
Is there a way to implement custom highlighting behavior with didHighlightRowAtIndexPath
while keeping the default scrolling behavior UITableView
?
source to share
No one has answered this question yet
Check out similar questions: