【问题标题】:Simulate a Detail Disclosure Button press模拟详细信息披露按钮按下
【发布时间】:2009-05-08 18:51:10
【问题描述】:

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

【问题讨论】:

    标签: objective-c iphone


    【解决方案1】:

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

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

    也许这样的事情会起作用?

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

    没试过,但认为应该没问题。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2023-03-27
      • 2011-09-05
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-01-14
      • 1970-01-01
      相关资源
      最近更新 更多