Created
March 16, 2019 09:55
-
-
Save reddvid/6c137ad43c532a8b5933928a8bce9117 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rootFrame.PointerPressed += RootFrame_PointerPressed; | |
SystemNavigationManager.GetForCurrentView().BackRequested += OnBackRequested; | |
// Optional code to show back button on title bar | |
SystemNavigationManager.GetForCurrentView().AppViewBackButtonVisibility = | |
rootFrame.CanGoBack ? | |
AppViewBackButtonVisibility.Visible : | |
AppViewBackButtonVisibility.Collapsed; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment