美文网首页
tableView 单行刷新

tableView 单行刷新

作者: 9九9 | 来源:发表于2016-09-26 10:32 被阅读861次

    //刷新一组

    NSIndexSet* indexSet = [[NSIndexSetalloc]initWithIndex:1];

    [self.myTableViewreloadSections:indexSetwithRowAnimation:UITableViewRowAnimationAutomatic];

    //刷新一行

    NSIndexPath*indexPath=[NSIndexPathindexPathForRow:1inSection:0];

    [self.myTableViewreloadRowsAtIndexPaths:@[indexPath]withRowAnimation:UITableViewRowAnimationNone];

    相关文章

      网友评论

          本文标题:tableView 单行刷新

          本文链接:https://www.haomeiwen.com/subject/jocqyttx.html