是[tableView reloadData]
影响ios中的性能?什么是[tableView reloadData]
?它如何重新加载tableview?有没有其他方式来重新加载tableview?ios:[tableView reloadData]
我想添加一些行到tableview的结尾。我怎样才能做到这一点?
是什么
[self.tableView reloadData]
和
[self.tableView beginUpdates];
[self.tableView insertRowsAtIndexPaths:insertIndexPathswithRowAnimation:UITableViewRowAnimationAutomatic];
[self.tableView endUpdates];
这在[标准的地方]所有有案可稽(http://developer.apple.com/library/ios/#文档/ UserExperience /概念/ TableView_iPhone/ManageInsertDeleteRow/ManageInsertDeleteRow.html#// apple_ref/DOC/UID/TP40007451-CH10-SW1)。 –
浏览苹果文档:https://developer.apple.com/documentation/uikit/uitableview –