我被一个表格视图困住了,其中单元格以堆栈格式显示。来自专家的任何建议如何实现这种表格视图。
(即我需要在另一个单元格后面显示一个单元格。在点击任何单元格时,单元格应该动画并显示单元格的完整内容)
编辑:
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath {
int defaultCellHeight = 30;
if(isSelected)
defaultCellHeight = 60;
return defaultCellHeight;
}