objective c - Reordering cells in UITableView -


i have tableview 10 sections , each section has 3 rows.

is possible reoder section using tableviewdelegate methods

-(bool)tableview:(uitableview *)tableview canmoverowatindexpath:(nsindexpath *)indexpath {     return yes; }  -(void)tableview:(uitableview *)tableview moverowatindexpath:(nsindexpath *)fromindexpath    toindexpath:(nsindexpath *)toindexpath { } 

right if dragging row 1 section , dropping on section, being added section. footer view not being selected reordering, , remains in original section.

any ideas?

thanks

check out tutorial: add, delete & reorder uitableview rows. there's working project @ end of tutorial.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -