Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

How to prevent software back button navigation

$
0
0

Overriding the OnBackButtonPressed makes it possible to take control over physical back navigation, why isn't it possible to do the same for the software back button? This is very inconsistent and limiting, can you please add this functionality? Is there a workaround? What I need is to react to the back button, hardware and software, and sometimes have the used being navigated somewhere else for example. So I need to cancel the event being propagated in order to to my own things. This works fine for the hardware back button overriding the OnBackButtonPressed.


Viewing all articles
Browse latest Browse all 58056

Trending Articles