简体   繁体   中英

In uwp, when navigate from one page to another page, it will flicker

In UWP project, when Navigate from one Page to another Page , it will flicker. In the switching moment, I can see a white blank page flicker . How to solve this issue?

Eg Page A with Blue background, Page B with Red background, or either Page with a different background picture. When Navigate, a flicker will occur.

You can try disabling page transition animation.

MainFrame.Navigate(typeof(PageA), null, new SuppressNavigationTranslationInfo());

By default, UWP will have a connection animation when the page is switched. The fade in and out will give you a white screen illusion, but this is normal.

Best regards.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM