Hiding the Status Bar in Windows Phone 8.1 apps

Its not always recommended to hide the status bar but sometimes it may be a necessity. Its quite simple in Windows Phone 8 Silverlight apps where you can just set the status bar to False and hide it. Its a bit tricky in windows phone 8.1. Here’s how it can be done.

If you want to make use of the Status Bar part of the screen, use this code in the MainPage() constructor (or whatever page you are displaying):

If you want to hide the status bar then use the code in hide.cs and call the function from the MainPage constructor

Vivek Maskara

I am pursuing BTech in Software Engineering from Delhi Technological University. I develop apps, create websites and blog about my app experiences.

Read more:
How to create your first Windows Phone app
How to change the App name and Tile name of your Windows phone app
Data binding in Windows Phone app – One way binding