0
votes

I have a custom view for the Navigation Bar which displays title and subtitle. When I scroll I hide the NavigationBar using the "Hides Bar on Swipe" property.

Unfortunately, my UITableView still extends to the full screen as shown below: enter image description here

I played around with different properties on UINavigationController in Storyboard

Under Top Bars - unchecked  
Under Bottom Bars - unchecked 

UINavigationController Storyboard Settings:

enter image description here

MyTableViewController Storyboard Settings:

enter image description here

What am I missing?

2
you need to set status bar view background as white.dahiya_boy

2 Answers

2
votes

Please remove tick mark on a show navigation bar.

0
votes

This is correct and expected behavior. This is exactly why you should not hide the navigation bar; you need it to provide a cover for your table view on “notched” devices.