In some devices as iPhone 7 and 8 the navigation bar overlaps status bar after do navigating, the parent view controller has status bar hidden but I show and hide it in viewWillAppear and viewWillDisappear respectively. I tested in iOS 12 and it works.
I am using prefersStatusBarHidden to hidden the status bar.
Here the Image Navbar Overlaps Status bar
Update: Here an example project: https://github.com/FranklinSamboni/NavBarTestSwfit. It work fine in iOS 12 but with iOS 13 the navigation bar overlaps status bar in iPhone 7,8
Images with iPhone 8 (simulator) Home The second view Second View