UITableView: Scroll to top and show navigation bar with large title.

I want to implement a similar behavior to when a user taps the status bar: The table view scrolls to the top and shows the navigation bar with the large title. 
If I call 
Code Block swift
tableView.scrollToRow(at: IndexPath(row: 0, section: 0), at: .top, animated: true)

the tableView scrolls to the top but only shows the navigation bar with a small title. 

I want to integrate this feature into the tabbar like a lot of apps do this including Apple Music, WhatsApp, etc. 

Any ideas?
This standard behavior is automatically provided by the system. Please make sure that you're using a UITableViewController or that your UITableView is the root view of your view controller and its edges are aligned with the view controller's edges.
@AppleStaff, well I have actually implemented it that way. I want to show it to you, but I cannot attach images to this reply (?).

My view hierarchy is as follows (in document outline):
  • View Controller Scene

* View Controller
* View
* Safe Area
* tableView
...

UITableView: Scroll to top and show navigation bar with large title.
 
 
Q