ios - Update table view numbering when new row is inserted -


i have simple table view cells have number label, , numbered according row number. works fine, until try insert new row at top.

i need way update cells below, numbering correct. reloading tableview works, cuts off row insertion animation. know solution this?

thanks!

if set cellforrowat index function correctly each label number derived indexpath.row after insert occurs call

tableview.reloaddata() 

Comments

Popular posts from this blog

angular - Is it possible to get native element for formControl? -

unity3d - Rotate an object to face an opposite direction -

javascript - Why jQuery Select box change event is now working? -