Windows Phone 导航过渡延迟和空白屏幕之间 [英] Windows Phone Navigation transitions delay and blank screen in between

查看:26
本文介绍了Windows Phone 导航过渡延迟和空白屏幕之间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 WP Toolkit 在我的应用程序页面之间进行转换,它工作正常,但是我在从一个页面导航到另一个页面时在转换之间出现了这种奇怪的延迟,它只显示一个空白屏幕,这显然没有看起来不错,没有任何过渡,它会立即打开页面,没有任何延迟或空白屏幕.这花了我将近 2 天的时间,我不知道出了什么问题,如果有人可以帮助我或建议另一个页面转换库,我将不胜感激.

I'm using WP Toolkit to do the transitions between my app pages, it works fine , but I get this strange delay in between transitions while navigating from one page to another, it just shows a blank screen which obviously doesn't look good, without any transition it opens the page straight away without any delay or blank screen. This has taken almost 2 days of my time and I don't know what's wrong, I'd appreciate it if someone can help me with it or suggest another page transition library .

(我尝试过 WP7Contrib 转换,但我遇到了同样的问题,不确定是我的应用程序还是库)

(I tried WP7Contrib transitions but I have the same problem with that, not sure if its my app or the libraries)

推荐答案

我建议您在页面之间创建自己的幻灯片过渡.其实很简单.创建一个故事板并分别在您要导航的页面和您要进入的页面中的 onNavigatingFrom 和 onNavigatedTo 函数中播放它们.它只是为我提供了我在应用程序中想要的内容和方式.删除额外的引用使您的代码更加优化.

I would suggest you to create your own slide transitions between pages. Its quite simple actually. Create a storyboard and play them at onNavigatingFrom and onNavigatedTo functions in both the page you are navigating from and page you are going into respectively. It just gives me what and how i wanted in my applications. Removing additional references makes your code more optimized.

这篇关于Windows Phone 导航过渡延迟和空白屏幕之间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆