简体   繁体   中英

iOS Localize Splash Screen in Xcode 4.6

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

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:

在此输入图像描述

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.

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 .

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?

在此输入图像描述

please check this:

"....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

我有同样的问题,我已经使用应用程序Info.plist中的UILaunchImageFile键解决了它UILaunchImageFile命名了启动图像,请查看文档以获得更完整的解释

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM