ios - UITableViewCell - Update tableview layout -
i have tableviewcell, on tap, grows in size, height wise, updating frame.
the problem is, cells below don't adjust, move down make visible underneath, , select row events still based on old sizes, before tap. using facebook pop - handling animation, tableview.beginupdates() out of question, maybe?
you cannot manually update frame of uitableviewcell changing frame or bounds. instead, need change value returned -tableview:heightforrowatindexpath: indexpath , perform:
[self.tableview beginupdates]; [self.tableview endupdates];
this cause tableview recalculate heights of rows.
Comments
Post a Comment