2011-11-23 85 views
2

我设法展开我的单元格(经过多次尝试),如您在我的图片中所看到的。 enter image description hereUITableView - 展开单元格

,但我真正想要的是这样的:

enter image description here

,你可以看到,当在描述用户单击单元格扩大显示内容: enter image description here

可以请有人告诉我在哪里可以找到所有的信息来做到这一点。 (我努力找到他们)。非常感谢你!!!!!!

+1

[Expandable TableView example](http://developer.apple.com/library/ios/#samplecode/TableViewUpdates/Introduction/Intro.html)from – beryllium

回答

0

更改tableView:heightForCellAtIndexPath:中单元格的高度,更改tableView:cellForRowAtIndexPath:中的单元格布局并致电[[self tableView] reloadData];