Joe
Joe

Reputation: 864

How do you resize a UITableViewController tableView?

Just your basic UITableViewController dragged in from interface builder.

enter image description here

The size controls are faded out. Why? Setting the frame in code doesn't work either.

Upvotes: 0

Views: 96

Answers (2)

DCMaxxx
DCMaxxx

Reputation: 2574

On Interface Builder, select freeform under your view controller parameters. Then, you can edit the size as you tried.

Right here

Upvotes: 1

Lithu T.V
Lithu T.V

Reputation: 20021

Because it is a UITableViewController

Manages a UITableView, automatically creating an instance with the correct dimensions and resizing mask, and acting as the table view's delegate and data source. The UITableViewController class also provides toggling of editing modes.

It is supposed to be behaving so

Use UIViewcontroller and add the tableview along with delegate and datasource methods if you want to play with it in more customizable frame

Upvotes: 0

Related Questions