【发布时间】:2015-02-17 18:41:41
【问题描述】:
我正在开发一个 Windows Phone 8.1 应用程序。我需要从中导航
Page1 --> Page2--> Page3
但是当我继续按下返回按钮时,我不希望 Page1 再次出现。
Page3-->Page2-->Exit the app
我能够在 Page1 的 OnNavigatedFrom() 中使用 Frame.BackStack.Clear() 来实现这一点。但问题是,当我再次单击应用程序图标时,它只能从 Page2 而不是从 Page1 启动。
So I want to understand, why the back stack is not cleared when we press
back button and exit the app. And how to achieve the behavior I require
【问题讨论】:
标签: windows-phone windows-phone-8.1 back-stack