Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

chhoda

macrumors 6502
Original poster
Oct 25, 2008
285
1
Hi All.

I have an UITableView which looks monotonous in all rows. On click of the rows i am presenting a viewcontroller.view through navigationcontroller.

now, i need something like this. on click of the row [uitableviewcell] it should expand and show some info. i click once more/ it shrinks and closes info. if i click another cell, that cell expands and this previously expanded row shrinks.

Can anybody give some pointers on how to achieve this ?

Thanks in advance

--CH
 

seepel

macrumors 6502
Dec 22, 2009
471
1
In UiTableviewDelegate have a look at
Code:
tableview:heightForRowAtIndexPath:

and in UITableview have a look at
Code:
reloadRowsForIndexPaths:withRowAnimation:
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.