![](/img/trans.png)
[英]My AdMob Ad only loading up when I navigate to another page then back
[英]Why am I losing the navigation back entry when I navigate from one of the pages to another page in my application?
我有兩個頁面:Page1.xaml和Page2.xaml。 Page1.xaml有一個列表框,當用戶選擇一個項目時,我在其中做NavigationService.Navigate(new Uri("/Page2.xaml", UriKind.Relative));
。
但是從Page2.xaml中,當我按下硬件“后退”按鈕時,它只是退出了應用程序。 Page1.xaml是應用程序的啟動頁面。
當我按下第二頁上的“后退”按鈕時,出現了一個異常,這導致應用程序關閉。 我從未調試過這一部分,因此從未意識到。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.