开发者

reloadData causes first cell to disappear in UITableView

开发者 https://www.devze.com 2023-03-29 18:58 出处:网络
This is a stab in the dark that someone would know what is going on here, but i have a UITableView that the user is allowed to reorder.Upon reordering cells I reload the UITableview data (because I ch

This is a stab in the dark that someone would know what is going on here, but i have a UITableView that the user is allowed to reorder. Upon reordering cells I reload the UITableview data (because I change each cells label based upon its order in the table).

[self.tableView reloadData]

However, when i reorder the first cell with any other, everything acts as its supposed to and i get no errors but the first cell disappears. 开发者_Go百科If i reorder any other cells in the tableview everything is fine

0

精彩评论

暂无评论...
验证码 换一张
取 消