Skip to content Skip to sidebar Skip to footer

How To Hide/remove Cordova Windows 10 App Back Button?

The windows 10 app generated by cordova shows a back button on extreme top left, when I run the app in desktop. When user taps the button, the application behaves like a web. This

Solution 1:

Is there anyway that I can hide or remove the back button? Looking for solution preferably in Javascript, C# can be optional.

If you are refering to the back button on Title bar, you can use the following codes in cordova to disable the back button:

if (cordova.platformId = "windows")
{
    var currentView = Windows.UI.Core.SystemNavigationManager.getForCurrentView();
    currentView.appViewBackButtonVisibility = Windows.UI.Core.AppViewBackButtonVisibility.collapsed;
}

Post a Comment for "How To Hide/remove Cordova Windows 10 App Back Button?"