hey, we have a UITableView inside which we have (obviously) many UITableViewCells. We need to implement an action so that when the user touches the cell, the cell grows and shows more information. if the user touches the cell again, it resizes back to the original size.
We were able to implement this by changing the height of the frame of the cell like this:
CGRect newFrameTemp = self.frame;
newFrameTemp.size.height +=textHeight;
self.frame = newFrameTemp;
and also moving all the other cells textHeight
pixels down. (and also changed the size of the table itself)
This seemed to work, only that the 'touch' events did not move together with the cells so that if I want to touch the next cell i actually need to touch the middle of the cell that we just 'opened'
any clues on we are doing wrong?