开发者

Highlight table view cells when user drags across rows

I have a grouped t开发者_开发知识库able view that does not need to scroll. I'd like each cell to highlight as the user moves their finger down the screen and call didSelectRowAtIndexPath on release.

This behaviour can be seen done by apple in 'settings > mail > add account'?

I can't seem to replicate it myself, all I can get is the default, where the cell deselects as soon as the user moves their finger.


I think the way that that example is done is not a UITableView, instead i think they draw the "table" from buttons. This would then not allow the scrolling feature while allowing you to have the buttons highlighted.

Hope this pushed you in the right direction.

Seb kade

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜