iPhone: Custom UITableViewCell with multiple areas that respond to taps?
Posted
by Nick
on Stack Overflow
See other posts from Stack Overflow
or by Nick
Published on 2010-03-10T04:14:16Z
Indexed on
2010/03/11
19:14 UTC
Read the original article
Hit count: 237
I've been asked to create a custom UITableViewCell with multiple areas that can be tapped.
These areas won't have buttons or any graphics - they'll be invisible. 3 different methods will be called depending on which third of the cell the user taps i.e.
|| decrementFooCount || viewFooDetails || incrementFooCount ||
The cell has a few labels on it that need to be visible at all times - the fooName and fooCount.
I'm thinking perhaps three hidden UIButtons over the cell?
I also need to maintain the swipe to delete default behavior.
© Stack Overflow or respective owner