0
當使用基底UITableViewController
時,底部對齊UITableView
是否可能?我想爲具有部分捲曲轉換的Modal執行此操作。iOS底部對齊TableViewController中的TableView(StoryBoard)
當使用基底UITableViewController
時,底部對齊UITableView
是否可能?我想爲具有部分捲曲轉換的Modal執行此操作。iOS底部對齊TableViewController中的TableView(StoryBoard)
如果您使用的是UITableViewController
,它會自動將桌面視圖設爲全屏,並且無法更改。
但是,如果您不需要UITableViewController
,則可以使用標準UIViewController
執行此操作,並只需設置UITableView
(在故事板或適當的代碼中)的大小即可。
是的,我開始這樣做。我真的只想要靜態行/組。使用StoryBoard UITableViewController管理所有這些。當以這種方式嘗試時,表格不像在StoryBoard中一樣。 – wuntee
是啊,如果沒有UITableViewController,你不能使用靜態tableview,所以你必須使用動態單元格並在代碼中進行排序。它不斷地讓我感到不安,哈哈。 – lnafziger