iOS Localize Splash Screen in Xcode 4.6

痞子三分冷 提交于 2019-12-06 05:25:59

问题


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?


回答1:


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




回答2:


I had the same problem, and I have solved it using UILaunchImageFile key in the app Info.plist and renaming the splash images, check the documentation for a more complete explanation



来源:https://stackoverflow.com/questions/16561129/ios-localize-splash-screen-in-xcode-4-6

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!