问题描述
iPhone中的Splash画面是否可以为不同的语言设置不同的图像?
Is it possible to have different image for different language for Splash screen in iPhone ?
推荐答案
您可以本地化默认值。 png文件就像你将本地化任何其他文件。这样,根据设备语言,使用了相应的Default.png。
You can localize the Default.png file like you would localize any other. That way, depending on the device language the appropriate Default.png is used.
我可以补充说,在HIG中,启动画面高度劝阻,你的Default.png应该看起来像第一个屏幕,让你的应用程序启动速度更快。另一方面,我没有听说过因为启动画面而被拒绝的应用程序。
Might I add, that splash screens are highly dissuaded in the HIG, your Default.png should look like the first screen to give the illusion your app starts up faster. I haven't heard of apps being rejected due to a splash screen on the other hand.
编辑
您无法添加某种自定义行为来决定使用哪个Default.png。您可以本地化文件,也可以使用Default.png,但不包含任何文本。
You can not add some kind of custom behavior which decides which Default.png to use. Either you localize the file or you use a Default.png with no text in it.
这篇关于iPhone中的本地化启动画面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!