Hi,
I've a problem with DisclosureIndicator with emulator, if I click it my method tableView:accessoryButtonTappedForRowWithIndexPath : isn't called.
I think is a problem of tappable area because if I substitute it with a
AccessoryDetailDisclosureButton it works fine.
Here is my code to create the table view cell:
if (cell == nil) {
CGRect frame = CGRectMake(0, 0, 300, 44);
cell = [[[UITableViewCell alloc] initWithFrame:frame reuseIdentifier:@"Cell"] autorelease];
cell.selectionStyle = UITableViewCellSelectionStyleNone;
label = [self createLabel];
label.tag = LABEL_TAG;
[cell.contentView addSubview:label];
value = [self createValue];
value.tag = VALUE_TAG;
[cell.contentView addSubview:value];
cell.accessoryType = UITableViewCellAccessoryDetailDisclosureButton;
}
Here is my method that should be called:
- (void)tableView

UITableView *)tableView accessoryButtonTappedForRowWithIndexPath

NSIndexP ath *)indexPath {
[tableView deselectRowAtIndexPath:[tableView indexPathForSelectedRow] animated:NO];
UIViewController *subController = [[UIViewController alloc] initWithNibName:@"TextEdit" bundle:nil];
[navigationController pushViewController:subController animated:YES];
}
Any suggestion?
Thanks.
Jean