WP - Remove Notification Bar

Visual Basic tutorials for UWP apps.
1 post Page 1 of 1
Contributors
User avatar
CodenStuff
Site Admin
Site Admin
Posts: 4389
Joined: Tue Aug 04, 2009 1:47 am

WP - Remove Notification Bar
CodenStuff
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.
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
1 post Page 1 of 1
Return to “Visual Basic”