ios - Force UITableView to call cellForRowAtIndexPath: for all cells -
ios - Force UITableView to call cellForRowAtIndexPath: for all cells -
i having problem uitableview's reloaddata method. have found calls cellforrowatindexpath if there new cells beingness added or taken away.
example: have 5 cells, each containing 5 strings. if add together new cell , phone call reloaddata, table updated , see it. yet if go 1 of 5 cells, add together new string, homecoming , phone call reloaddata, none of table view's delegate methods called.
my question: possible forcefulness table view reload info in of visible cells?
i found problem- had cell customization code in if(cell == nil) block, because cells beingness recycled, weren't beingness changed. taking customization code out of block fixed problem.
ios reloaddata uitableview
Comments
Post a Comment