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

How to avoid cached page image being displayed on iOS when navigate back to a previous page?

$
0
0

In particular scenarios, when the user hits the back button to navigate back to the previous page, I want to update that page before it is displayed. On Windows, WinPhone and Android this works fine, but on iOS a cached image of the page is displayed briefly before being overwritten with my updated page. Is there any way to prevent that cached image from appearing?

At the moment, I am doing the update of the page in OnAppearing().

Does the cached image appear briefly even if the Navigation stack is manipulated (inserting a new, updated, instance of the page and removing the old one)? Or is there an easier way of avoiding the cached image appearing?

Many thanks,

John H.


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>