Reputation: 9660
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:
I played around with different properties on UINavigationController in Storyboard
Under Top Bars - unchecked
Under Bottom Bars - unchecked
UINavigationController Storyboard Settings:
MyTableViewController Storyboard Settings:
What am I missing?
Upvotes: 0
Views: 261
Reputation: 534925
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.
Upvotes: 0