How to keep UITableView contentoffset after calling -reloadData

前端 未结 13 1391
隐瞒了意图╮
隐瞒了意图╮ 2020-11-28 02:43
CGPoint offset = [_table contentOffset];
[_table reloadData];
[_table setContentOffset:offset animated:NO];    //unuseful

//    __block UITableView *tableBlock = _t         


        
13条回答
  •  北荒
    北荒 (楼主)
    2020-11-28 03:06

    In my case uncheck row height automatic and estimate automatic problem solved

提交回复
热议问题