有没有办法在 iOS 中为不同的语言/区域设置不同的 Default.png(启动图像)? [英] Is there a way to have a different Default.png (splash image) for different languages/locales in iOS?
问题描述
可能重复:
:
除了在您的顶层包含启动图像之外捆绑包,您还可以包含启动图像的本地化版本在您应用的特定语言项目子目录中.更多有关在您的应用中本地化资源的信息,请参阅表 6-2.
Possible Duplicate:
Localization of Default.png is not working
My splash screen has English text in it, so I would like to be able to have a different splash image when users have a different language set.
Is this possible?
Yes, it's possible. Pretty much the same way you localize all your resources. You just need to provide a Default.png image and then enable all the languages you're interested in. The result is that you'll get a copy of the image for each language into the respective folders. Then edit (or overwrite) each image as you need. I have tested it right now and it works fine (on iOS 5 but I believe is the same for older versions). Here is a screenshot for easy reference:
EDIT: Regarding any doubts about whether or not this is a good practice, this is straight from Apple's documentation:
In addition to including the launch images at the top level of your bundle, you can also include localized versions of your launch images in your app’s language-specific project subdirectories. For more information on localizing resources in your app, see Table 6-2.
这篇关于有没有办法在 iOS 中为不同的语言/区域设置不同的 Default.png(启动图像)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!