ios - TableView updates not happening -
I am inserting and removing rows on a tableview. However, if the rows that I want to remove are in the view Are not really removed in the UI when the given row comes back to see.
If I add lines to only visible rows and delete them, it works just fine. What could be causing this problem?
- (zero) sectionHideView: (BaseSectionHeaderView *) sectionHeaderView section OpenCart (NSInteger) sectionIncluded {LogInfo (@ "opening section:% ld", sectionOpened); [_dataSource setSectionAtIndex: section opened open: yes]; Create an array containing the index path of rows to insert / *: These are in line with lines for each quote in the current section. * / NSInteger countOfRowsToInsert = [_dataSource tableview: _table view countoffrose injection: section open]; NSMutableArray * indexPathsToInsert = [[NSMutableArray alloc] init]; (NSInteger i = 0; i
You must reload this table view ...
[tableView reload data]; and if this does not give expected results So the object must be removed from filling the row of table view. I think it will definitely work ...
Tell me if it's working or not ... < / Div>
Comments
Post a Comment