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