3.0中的动态(Default.png)启动画面[iPhone SDK] [英] Dynamic (Default.png) splashscreen in 3.0 [iPhone SDK]

查看:105
本文介绍了3.0中的动态(Default.png)启动画面[iPhone SDK]的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道可以通过创建符号链接来创建动态可变的Default.png。但这在iPhone SDK 3.0中是不可能的(仅在2.0中)。
如何在3.0中制作,或者这是不可能的?
Tim

I know it's possible to create a dynamically changable Default.png by creating a symbolic link. But that's not possible in iPhone SDK 3.0 anymore (only in 2.0). How can I make this in 3.0, or is this impossible? Tim

这适用于iPhone OS 2.0 http://collison.ie/blog/2008/11/dynamic-defaultpng-files-on-the-iphone 但不再适用于iPhone OS 3.0 。默认屏幕始终黑色。

This worked on iPhone OS 2.0 http://collison.ie/blog/2008/11/dynamic-defaultpng-files-on-the-iphone but not on iPhone OS 3.0 anymore. The default-screen is always black.

我可以更改documents-folder中的默认屏幕,而symbolic-link确实链接到那个文件。我通过浏览模拟器中的app-folder测试了它。我在documents-directory中看到了正确的文件,我看到符号链接指向该(右)文件。

I can change the default-screen in the documents-folder and the symbolic-link does link to that file. I tested that by browsing to the app-folder from the Simulator. I saw the right file in the documents-directory and I saw that the symbolic link points to that (the right) file.

推荐答案

3.0不可能。它只能在2.0上使用,因为它是一个可利用的bug。该错误已在3.0中修复,这就是为什么它不可能。

It's not possible in 3.0. It was only possible on 2.0 because it was an exploitable bug. The bug was fixed in 3.0 which is why it's not possible.

Apple并不打算将Default.png作为启动画面。

Apple don't intend the Default.png to be a "splash screen".

如果您阅读HIG,您会看到Default.png被假定为代表您的用户界面,因为它将是空的 - 没有任何内容。它旨在为用户提供近乎即时发布的幻觉。

If you read the HIG, you'll see that the Default.png is suppose to represent your user interface as it would be "empty" - without any content. It is intended to give the user the illusion of an "near instant" launch.

查看iPhone上的所有Apple应用程序,您将看到默认情况.png的意思是使用得当。

Check out all of the Apple apps on the iPhone and you'll see how the default.png is meant to be used properly.

Apple使用Default.png作为启动画面时皱眉。他们说,它实际上只适用于不使用SDK中提供的标准UI元素的游戏等应用程序。

Apple frown upon using the Default.png as a splash screen. They say that it is really only appropriate for apps such as games that don't use the standard UI elements that are provided in the SDK.

这就是说 - 很多应用程序现在正在使用此功能来显示启动画面,似乎Apple并没有真正执行此指南。

That being said - lots of apps these days are using this feature to show splash screens, and seems Apple aren't really enforcing this guideline.

长话短说,你可以做一个闪屏,但是它不能是动态的 - 不再是。

Long story short, you can do a splash screen, but it can't be dynamic - not anymore.

这篇关于3.0中的动态(Default.png)启动画面[iPhone SDK]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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