【问题标题】:reload the data of specific uitableview cell [duplicate]重新加载特定uitableview单元格的数据[重复]
【发布时间】:2012-05-25 21:54:56
【问题描述】:

可能重复:
Is it possible to refresh a single UITableViewCell in a UITableView?

对不起,如果这个问题很愚蠢,但不是使用[mytableview reloaddata],我们如何才能重新加载仅特定UITableViewCell的数据。

【问题讨论】:

  • 以下答案是正确的。请善意接受。

标签: iphone objective-c ios uitableview


【解决方案1】:

你想要 UITableView 的 reloadRowsAtIndexPaths: withRowAnimation: 方法。我已经为你链接了文档。

您只需提供要重绘的单元格的索引路径。

【讨论】:

    猜你喜欢
    • 2011-12-23
    • 1970-01-01
    • 2021-03-21
    • 2011-07-27
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多