views:

5

answers:

1

Hi,

Can any one give me the code for the expansion and contraction of the table view cell to display the text of a particular cell in iphone.

A: 

If you want variable heights for your table cells you will need to look into:

- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath;

But your question isn't clear enough to know for sure what you at trying to do.

Dad