Don't place tableViewController
on top of viewController
. Instead create a tableViewController
object. TableViewController
is a viewController
with table.
Here is a simple tutorial you can get help from.
Second way add a UITableView
in viewController
and implement dataSource
and delegate
method. You can use this tutorial