2011-11-23 72 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];