Using a UITableViewController with a small-sized table?

后端 未结 11 1169
一生所求
一生所求 2020-12-31 05:51

When using a UITableViewController, the initWithStyle: method automatically creates the underlying UITableView with - according to the documentation - \"the correct dimensio

11条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-31 06:19

    I'm not sure why you're creating an additional view controller for your table. However, in your code, I don't see you adding the table view to its parent. You might also try reducing the bounds height until the whole thing appears on screen; once you do that, it may give you insight as to why it's not working the way you expect.

提交回复
热议问题