Hi, I want to exit app when backbutton pressed. But I don’t know what I should use to command such as exit, finish, close etc. Can you help me? Thanks.
ux:
<WhileTrue ux:Name="backPulse" Value="false">
<Callback Handler="{exitingApp}"/>
</WhileTrue>
<OnBackButton>
<Pulse Target="backPulse" />
</OnBackButton>
javascript:
function exitingApp(args)
{
//I don't know what command I should use here
};