开发者

didSelectRowAtIndexPath does not get called when scrolling and selecting a cell

It seems when I scroll my table开发者_如何转开发 view that if I select a cell while the table view is still scrolling, didSelectRowAtIndexPath doesn't get called. It works fine when the table view is still.

Any ideas on why this might be?

Also, is there a way that didSelectRowAtIndexPath can be called on press down? It seems it gets called after my finger/cursor is raised off of the cell.

Thanks,


I believe that this is the correct behavior, while the tableView is scrolling the cells should not be interactive, otherwise tapping again to continue a long scroll would activate cells.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜