I use Xcode 4.2 and create my user interface using storyboards. I need to create a view with contents above and below a UITableView, and I can do this using the UIViewController. UITableViewController does not allow adding content above or below the table. You can use the table header / footer, but this does not work for what I would like to achieve.
Now I have a UIViewController with a built-in UITableView. I can adjust the height and width of the UITableView accordingly, which gives me the layout of the user interface I'm looking for.
I can configure static cells in a UITableView, but when I try to build, I get the following error:
Illegal configuration: views of a static table are only valid when embedding in instances of UITableViewController
My question is: how do others get around this? Creating a table view with static cells and visualizing them is visually very enjoyable, but apparently this is not allowed for some reason that I cannot understand. I cannot switch to the UITableViewController due to my visual design requirements.
Any help would be greatly appreciated.
StinkyDuck Jan 20 '12 at 17:53 2012-01-20 17:53
source share