It’s been a while since I last touched my game and I want to update it for notch support. I thought I could achieve this by just setting the status bar to be visible again, but at least in the iphone x simulator, my game extends into the notch area and the contents of the status bar are just overlaid on top of that. I feel like there should be an easy way to turn on the status bar and have the game content start below that. I tried searching google but couldn’t find anything. Am I missing something simple or was this never possible in the first place?
For phones with a notch, is it possible to turn on the status bar and have it either:
-
Have a black background overlaid on top of the app, which hides any content that goes underneath it, or
-
Push all rendered content below the status bar
As an example, on my Galaxy S10 I can choose a setting to make the app only render below the bounds of the hole punch camera, or render fullscreen including the camera area.