模拟详细信息披露按钮按

时间:2009-05-08 18:51:10

标签: iphone objective-c button detail disclosure

有没有人知道模拟按详细信息披露按钮的方法?

1 个答案:

答案 0 :(得分:2)

我使用以下方法模拟表格行的点击:

[self tableView:self.tableView didSelectRowAtIndexPath:[NSIndexPath indexPathForRow:0 inSection:0]];

这样的事情可能有用吗?

[self tableView:self.tableView accessoryButtonTappedForRowWithIndexPath:[NSIndexPath indexPathForRow:0 inSection:0]];

没试过但是假设它应该没问题。

相关问题