順序如下:
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
;