2012-11-09 43 views
0

每個UITableViewCell都包含多個標籤和圖像(就像下面的twitter應用的主頁一樣)。我應該如何佈置標籤和圖像,動態調整UITableViewCell的大小?任何人都可以演示一些關於動態佈局UITableViewCell的代碼

  1. 數據取自後端,如果沒有圖像,則UITableViewCell將適應該情況。
  2. UITableView,像android中的列表視圖,我已經完成了。

Twitter App

回答

1

你可能想看看一個關於自定義的tableview細胞教程。

例如結算這一個http://www.appcoda.com/customize-table-view-cells-for-uitableview/

+0

我得到了答案我自己:https://developer.apple.com/library/ios/#documentation/UserExperience/Conceptual/TableView_iPhone/TableViewCells/TableViewCells.html 和演示在這裏http://jainmarket.blogspot.com /2009/05/creating-custom-table-view-cell.html。 thnx NikosM – max

相關問題