I am adding TTTableViewControllerto the existing UIViewControllerone strange thing that I discovered is that the properties of the frameinitialized TTTableViewController are connected, for example. in iOS layout.
I have:
UIStatusBarUINavigationControllerUIViewControllerUITabBar
To set to TTTableViewControllerfill all the remaining space, I need to set the height to 460 instead of 367. (367 = 480-20-44-49)
eg.
self.tableViewController.view.frame = CGRectMake(0, 0, 320, 460.0f);
instead
self.tableViewController.view.frame = CGRectMake(0, 0, 320, 367.0f);
Why is this so?
* Edit for clarification: I mean the TTTableViewController at the top of the TTViewController (using [self.view addSubview: self.tableViewController.view];) and I need to set self.tableViewController.view.frame = CGRectMake (0, 0, 320 , 460.0f); instead of 367
Ryan