How to determine if scrolling a UITableView was done by tapping the index?

Posted by John Michael Zorko on Stack Overflow See other posts from Stack Overflow or by John Michael Zorko
Published on 2009-11-07T21:20:47Z Indexed on 2010/04/04 3:03 UTC
Read the original article Hit count: 470

Filed under:
|
|

Hello, all ...

I want to determine when the index (transparent alphabet) along the side of a UITableView is tapped. To be more specific, I have a sectioned UITableView that has an index, and said index does the right thing, but when the UITableView's -scrollViewDidScroll method is called, I want to be able to determine if said scrolling was the result of the user tapping the index, vs. dragging or swiping the table view itself. If anyone has ideas on how to do this, i'd love to hear about them :-)

Regards,

John

© Stack Overflow or respective owner

Related posts about iphone

Related posts about uitableview