Reputation: 3771
In my storyboard, I designed a tableview with static cells shown below:
But all I end up with is this:
Not sure what I'm doing wrong?
Upvotes: 0
Views: 59
Reputation: 7474
Drag and Drop UITableViewController
from object library and embed in UINavigationController
Design your UI and run - it works for me.
Remember - You can't drag and drop UIViewController and on top of UITableView.
Upvotes: 1
Reputation: 11217
Set IBOutlet
for UITableView
in your viewcontroller.h file. Try this. Hope it will works fine.
Upvotes: 0