2

I managed to expand my cell (after many tries) as you can see in my pic. enter image description here

but what I really want is something like this:

enter image description here

as you can see when the user click on description the cell expand showing the content: enter image description here

Can please somebody tell me where I can find all the info to do that. (I struggling to find them). thank you very much!!!!!!

Mat
  • 6,236
  • 9
  • 42
  • 55
  • 1
    [Expandable TableView example](http://developer.apple.com/library/ios/#samplecode/TableViewUpdates/Introduction/Intro.html) from Apple – beryllium Nov 23 '11 at 09:12

2 Answers2

4

You can try apple's source code in your application- http://developer.apple.com/library/ios/#samplecode/TableViewUpdates/Introduction/Intro.html

or you can fallow this blog -

http://www.cocoanetics.com/2011/03/expandingcollapsing-tableview-sections/

and you need to add custom UITableViewCell design as per your need.

Mayur Birari
  • 5,837
  • 8
  • 34
  • 61
0

Change the height of the cell in tableView:heightForCellAtIndexPath:, change the cell layout in tableView:cellForRowAtIndexPath: and call [[self tableView] reloadData];.

dasdom
  • 13,975
  • 2
  • 47
  • 58