I have a UIViewController with a Container View. This Container View contains a UITableViewController.
The UIViewController is embedded in a UINavigationController.
The above mentioned in the above answers did'nt work for me.When translucent is NO my ViewController pushes downwards which is embeded in Navigation controller. The solution worked for me is shown below
The screenshot is atatched
I am using Xcode 9.
Thanks