顺序如下:
1.数组添加:
for
(
id
model
in
modellist.list) {
IDSCommentWeplayList *commentListModel = [IDSCommentWeplayList mj_objectWithKeyValues:model];
[_commentArray cl_addObject:commentListModel];
IDSWeplayCellHeight *cellHeight = [[IDSWeplayCellHeight alloc] init];
cellHeight.cellheight =
200
;
[_cellheightArray cl_addObject:cellHeight];
}
2.更新网络数据
[
self
.
anchorGodTableView
reloadData
];
3.tableView结束下拉状态
[
_anchorGodTableView
.
mj_footer
endRefreshing
];
[
_anchorGodTableView
.
mj_header
endRefreshing
];
4.隐藏下拉选项
_anchorGodTableView
.
mj_footer
.
hidden
=
YES
;
如果还会跳动的话,就延时去执行
_anchorGodTableView
.
mj_footer
.
hidden
=
YES
;