I have check this in iOS 12 it's working fine. Issue is when I am going to search and push to second VC it working fine. when I back and again push to second VC then UITableview goes under the NavigationBar. Normal push working fine only issue when search active and push second time.
I have try this below solution but none of this are working for me.
UnderTopBar
forKeyPath:"hidesShadow"
edgesForExtendedLayout
automaticallyAdjustsScrollViewInsets
extendedLayoutIncludesOpaqueBars
self.view layout
too.
if anyone have answer of this and any suggestion then please tell me. Thank You.