{ Learn Code. Share Code. Teach Code. Love Code. }

  • WP - Remove Notification Bar

  • Visual Basic tutorials for UWP apps.
Visual Basic tutorials for UWP apps.
 #83907  by CodenStuff
 Tue Jul 05, 2016 1:32 pm
The following code will "hide" the Windows Phone notification bar so your app can have full use of the screen.
Code: Select all
Private Async Sub HideBar()
        Await Windows.UI.ViewManagement.StatusBar.GetForCurrentView().HideAsync()
    End Sub
For best results use this in the app initialization code of the "App.xaml" file.