title: Resize table view
body: <p>I'm searching for a way to have a UITableViewController with a UITableView at the top and a UIPickerView bellow (with fix position).</p>
  
  <p>I've found a solution for fixing the picker with the code bellow:</p>
  
  <pre><code>- (void)viewDidLoad {
      [super viewDidLoad];
  
      _picker = [[UIPickerView alloc] initWithFrame:CGRectZero];
      _picker.showsSelectionIndicator = YES;
      _picker.dataSource = self;
      _picker.delegate = self;
  
      // Add the picker to the superview so that it will be fixed
      [self.navigationController.view addSubview:_picker];
  
      CGRect pickerFrame = _picker.frame;
      pickerFrame.origin.y = self.tableView.frame.size.height - 29 - pickerFrame.size.height;
  
      _picker.frame = pickerFrame;
  
      CGRect tableViewFrame = self.tableView.frame;
      tableViewFrame.size.height = 215;
  
      self.tableView.frame = tableViewFrame;
  
      [_picker release];
  }
  </code></pre>
  
  <p>The problem is with the tableview, it seems resizing doesn't work so I can't see all results .</p>
  
  <p>Thanks for your advice.</p>