Reputation: 159
I have a TableView and ImageView header on Storyboard (Xcode 9). I wonder how it is possible to set content (ImageView) behind the status bar and not below the status bar.
With this line of code I get the desired result, but I want to set this through the Storyboard.
tableView.contentInsetAdjustmentBehavior = .never
Thanks for the help.
Upvotes: 5
Views: 1757
Reputation: 15331
Select your table view in your storyboard
Open the Size Inspector (ruler tab in the right pane)
Go to section entitled "Scroll View"
Look for the drop down named "Content Insets"
Open the drop down and select "Never"
Upvotes: 13