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

forms - Secure PHP File Upload Script -

PHP: Exploding array elements -

java - How do I override the spring framework version in Spring Batch? -