Reputation: 864
Just your basic UITableViewController dragged in from interface builder.
The size controls are faded out. Why? Setting the frame in code doesn't work either.
Upvotes: 0
Views: 96
Reputation: 2574
On Interface Builder, select freeform
under your view controller parameters.
Then, you can edit the size as you tried.
Upvotes: 1
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