Usage in table view?
Opened this issue · 0 comments
danqing commented
Thanks for this great library!
I'm trying to use it in a table view, and I have the following code:
func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
Haptic.impact(.medium).generate()
// Other stuff...
}
This generates haptic feedback, but sometimes it seems to be generating two very fast consecutive ones. It happens when you click on one cell and then another.
Is it the wrong way to use the library? Thank you!