Allen
Allen

Reputation: 3771

Static UITableView not showing

In my storyboard, I designed a tableview with static cells shown below: enter image description here

But all I end up with is this:

enter image description here

Not sure what I'm doing wrong?

Upvotes: 0

Views: 59

Answers (2)

bhavya kothari
bhavya kothari

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

Rajesh Loganathan
Rajesh Loganathan

Reputation: 11217

Set IBOutlet for UITableView in your viewcontroller.h file. Try this. Hope it will works fine.

Upvotes: 0

Related Questions