如何禁用 Windows Phone 7 启动画面?
有没有办法禁用 WP7 启动画面并只显示空白屏幕?
我的启动画面只持续了不到半秒,给用户留下了相当刺耳的感觉。我宁愿他们根本看不到任何闪屏。
我会简单地使用纯黑色图像作为启动屏幕,但这会给使用浅色主题的人带来丑陋的体验(因为我的应用程序的背景在浅色主题上为白色,在深色主题上为黑色)
谢谢!
Is there any way to disable the WP7 splash screen and just show a blank screen?
My splash screen only stays on for less than half a second, leaving the user with a rather jarring sensation. I'd rather they not see any splash screen at all.
I would have simply used a plain black image as my splash screen, but then that would result in an ugly experience for people using a light theme (since my app's background is white on light themes and black on dark themes)
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
只需删除文件
SplashScreenImage.jpg
即可。Simply remove the file
SplashScreenImage.jpg
.右键单击图像文件,选择“从项目中排除”。重建。
Right click on the image file, select "Exclude from project". Rebuild.
就像 madd0 所说的那样,尝试删除
SplashScreenImage.jpg
:)如果您希望 SplashScreen 持续更长时间,您可以添加如下所示的起始页:
客户启动屏幕
修改时间跨度以适合您想要的时间:
Just try to delete the
SplashScreenImage.jpg
as madd0 said :)If you want your SplashScreen to last longer you can add a start page like this:
Customer Splash Screen
Modify the Timespan to suit your the time you want:
正如大家所说,你可以删除它。但在此之前,只需重命名它 - 在解决方案资源管理器中右键单击 SplashScreenImage.jpg,单击重命名,然后将其命名为:SplashScreenImage2.jpg - 让 VS 有机会根据您的计算机赶上您的意图。然后删除该文件。
您可以而且应该按照Windows Phone 7 应用程序认证指南中的指导删除启动屏幕在第 5.2.1.a 节中:
然而,我发现的一件事是,虽然许多应用程序在第一次启动时可以非常快地启动,但如果它们有已被逻辑删除的数据,那么之后加载速度就会变慢。仅供参考
Like everyone says, you could delete it. But before that, just rename it - right-click on SplashScreenImage.jpg in the Solution Explorer, click rename and just name it something like: SplashScreenImage2.jpg - gives VS a chance to catch up with your intent depending on your machine. Then delete that file.
You can and should delete the splash screen as per the guidance in the Windows Phone 7 Application Certification Guide in section 5.2.1.a:
However, one thing that I've discovered is that while many apps can fire up really fast the first time they are launched, they made load slower after that if they have data that has been tombstoned. Just FYI