I was wondering if there is a delegate method to implement that let's me distinguish between a tap on the content view of the cell and the disclosure symbol to the right. I would like to send the user to two different view depending on where on the cell they tap.
I think the event is normally caught by testing if the tableView is:
(self.editing)
I can only remember having seen this functionality during editing in the Alarm Clock and Address Book app. Does anyone know if it is even "allowed" by Apple or is it considered "bad" user interfa开发者_运维知识库ce design? Anyone know of other Apple apps that implements this approach?
Hope someone can shed a little light on this issue:) Thank you
Implement the Delegate method to handle taps on accessory button
- (void)tableView:(UITableView *)tableView accessoryButtonTappedForRowWithIndexPath:(NSIndexPath *)indexPath;
And you know how to handle cell selection..
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath;
精彩评论