【发布时间】:2009-05-08 18:51:10
【问题描述】:
有人知道模拟按下详细信息披露按钮的方法吗?
【问题讨论】:
标签: objective-c iphone
有人知道模拟按下详细信息披露按钮的方法吗?
【问题讨论】:
标签: objective-c iphone
我使用以下方法来模拟对表格行的点击:
[self tableView:self.tableView didSelectRowAtIndexPath:[NSIndexPath indexPathForRow:0 inSection:0]];
也许这样的事情会起作用?
[self tableView:self.tableView accessoryButtonTappedForRowWithIndexPath:[NSIndexPath indexPathForRow:0 inSection:0]];
没试过,但认为应该没问题。
【讨论】: