Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save remarkablemark/95f4d09feebd92ac876103fef9be6114 to your computer and use it in GitHub Desktop.
Save remarkablemark/95f4d09feebd92ac876103fef9be6114 to your computer and use it in GitHub Desktop.
How to hide the status bar in the iPhone Simulator.

Hide status bar in iPhone Simulator

  1. Open Info.plist.
  2. Add row with key View controller-based status bar appearance and value NO if not present.
  3. Add row with key Status bar is initially hidden with value YES if not present.
  4. Save and run the project.

Source

@houmie
Copy link

houmie commented Oct 6, 2021

Nice. Thank you!

@aaronkelton
Copy link

If you're using Flutter, you can edit the info.plist file directly by adding these two lines nested in the dict tag:

<dict>
    ...
    <key>UIStatusBarHidden</key>
    <true/>
</dict>

@SvenKreussler
Copy link

Thank you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment