title: How to Hide Content on Status Bar When Scrolling on iPhone X
body: <p>I have a <code>UICollectionView</code> that scrolls vertically. The collection view is a form. It has multiple sections, each section has a few items in it. The top section has a header which is pinned to the top of the view so it remains in place as the content scrolls.</p>
  
  <p>The problem is, as I scroll the content up, the items show against the status bar. How do I get the items to be hidden as I scroll? Can I set a color to the status bar, or set an inset on the view?</p>
  
  <p>Notice in the behavior in the screenshot below:</p>
  
  <p><a href="https://i.stack.imgur.com/ufQU8.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ufQU8.jpg" alt="enter image description here"></a></p>