iphone - How can i select multiple rows from table view and how to get data from that? -
how can select multiple rows table view , need data(cell) selected user.
thanks
you can add selected cell's [indexpath row] array. , use later. nsmutablearray* selectedcellsarray; // ivar somwhere in implementation
selectedcellsarray = [[nsmutablearray alloc] init];
in tableview didselectrowatindexpath delegate method:
[selectedcellsarray addobject:[nsnumber numberwithint:[indexpath row]]];
your array have of selected tableview cells indexpath row.
Comments
Post a Comment