Hello all ,
I have seen some iPhone apps in which they show first section of rows after loading Other sections of rows will not be visible until you tap them .
If you want to see more data you have to tap on that particular section so it will collapse and show rows of data .
some unclear idea :
- (void)beginUpdates;
- (void)endUpdates;
- (void)insertSections:(NSIndexSet *)sections withRowAnimation: (UITableViewRowAnimation)animation;
- (void)deleteSections:(NSIndexSet *)sections withRowAnimation: (UITableViewRowAnimation)animation;
- (void)insertRowsAtIndexPaths:(NSArray *)indexPaths withRowAnimation: (UITableViewRowAnimation)animation;
- (void)deleteRowsAtIndexPaths:(NSArray *)indexPaths withRowAnimation: (UITableViewRowAnimation)animation;
But don't know How to detect tap on section headers ?
Any one knows how can I do so ?
i.e How to implement collapsable sections in uitableview ?
Thanks .