iOS在Xcode 4.6中本地化Splash Screen [英] iOS Localize Splash Screen in Xcode 4.6

查看:175
本文介绍了iOS在Xcode 4.6中本地化Splash Screen的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在App Store提交过程中发现了Xcode 4.6中的一个错误。

I found a bug in Xcode 4.6 during the App Store submission process.

问题是从2013年5月1日起,Apple拒绝不支持视网膜的应用程序显示和iPhone 5.
要了解应用程序是否针对iPhone 5进行了优化,该过程会在设置中查看启动图像部分:

The problem is from May 1, 2013, Apple reject applications that doesn't support retina display and iPhone 5. To understand if an application is optimized for iPhone 5 the process looks into the launch image section in the settings:

当您尝试本地化时出现的问题启动画面:要本地化启动画面,必须在启动图像部分中拖动图像,但必须在项目导航器中的支持文件文件夹中拖动。然后本地化图像并将其命名为Default.png(以及iPhone 5和iPad的其他适当名称)。即使一切正常,此过程也会导致启动图像部分为空白:在设备中,您可以根据设备语言看到正确的启动。

The problem born when you try to localize the splash screen: to localize splash screen you must drag the image NOT in the launch images section, but in the supporting file folder in project navigator. Then localize the image and call it Default.png (and with other appropriate name for iPhone 5 and iPad). This procedure cause the launch images sections are blank even if all works fine: in the device you can see the correct splash based on device language.

但是,因为Apple遇到了本节要了解iPhone 5是否针对iPhone 5进行了优化,您无法发布该应用,并且该过程会向您返回此错误:需要优化iPhone 5

But, because Apple looks into this section to understand if an app is optimized for iPhone 5 you can't able to publish the app and the process returns you this error: iPhone 5 optimization required.

这是Xcode中的一个错误,因为我提到的过程工作正常...
有没有人遇到过这个问题并找到了解决方案?

This is a bug in Xcode because the process I mentioned works fine... Has anyone have encountered this problem and found a solution to it?

推荐答案

请检查:

....您还可以本地化您的应用程序图标和 启动图像 通过在您的语言特定项目目录中放置具有相同名称的文件。 即使您提供本地化版本 您应始终在应用程序包的顶级 中包含这些文件的默认版本。默认版本用于特定本地化不可用的情况......来自 Apple

"....you can also localize your application icons and launch images by placing files with the same name in your language-specific project directories. Even if you provide localized versions, however, you should always include a default version of these files at the top-level of your application bundle. The default version is used in situations where a specific localization is not available..." from Apple

这篇关于iOS在Xcode 4.6中本地化Splash Screen的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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