UIViewController
gives you more control over tableview
rather than UITableViewController
. You should use UITableViewController
only when you are just concerned with tableview in a controller. But if you want to add more subviews/controls in a controller other than tableview
, then you have to use UIViewController
.
EXAMPLE:
If you just want to display grocery items list with some header and footer, then tableviewcontroller should be priority. But if you want to display mail items in tableview, you would need some additional buttons for altering items in mail(tableview). For later case, you will use viewcontroller. Hope my point is clear.