Using a UITableViewController with a small-sized table?

后端 未结 11 1265
一生所求
一生所求 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:44

    I agree with Ben's answer. I've often run into the situation where I need to resize a UITableVIew due to other controls on a view.

    I usually just have a regular UIViewController with a UITableView IBOutlet. Then, if I need to, I can just manipulate the UITableView object's frame to get it to the size I need.

提交回复
热议问题