iphone - How to reload Data of TableView when Editing ends with animation -


i'm using tableview show, edit , write data file...when editing modes end write them file , afterwards want clear inputfields of tablecells.

i'm doing with:

- (void) setediting:(bool)editing animated:(bool)animated {     [super setediting:editing animated:animated];      if (editing == no) {         //write file          //clear data          [self.tableview reloaddata];     } } 

but when reload data animation isn't shown.

what way can reload data , still animation?

why not clear input fields in existing cells instead of calling reloaddata? iterate through of uitableviewcells in self.visiblecells , clear input field in each of them in turn - should leave animation uninterrupted.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -