You cannot resize self.tableview.frame or self.view.frame if you use UITableViewController. But what you can do is
You can set the top margin using:
UIEdgeInsets inset = UIEdgeInsetsMake(50, 0, 0, 0); self.tableView.contentInset = inset;
This is not a good practice, just in case you want more space on top, you can use it.
You should not use a UITableViewController, just use a UIViewController and programmatically create a UITableview
source share