IOS: launch multiple images

I have an application in several languages. My problem is the startup image, which way to use the startup image according to the language of the device. Is there something in the info.plist file?

+7
source share
2 answers

The solution is to localize Default.png, like any other resource in your project. Select Default.png from the list of projects in Xcode, in the right pane, find “Localization” and just add new localizations. After that, you can change the files for different localizations.

  • In the project summary area in Xcode (talking about Xcode 4.2), add launch images for one or both orientations, as usual.
  • Running images will appear in the list of project files. Choose one of them.
  • Expand Utilities (panel on the right), you will see the following groups: "Indentation and Type", "Image Properties", "Localization", .... In the localization group, click the "+" button. Now you can add a new localization (for example, Spanish).
  • After that, to the left of your file in the list of projects you will see the expand button. Click the button to display files for all localizations.
  • Your localized Default.png files will appear in the .lproj directories in the project directory. You can, for example, manually scroll through the file in en.lproj to change the launch image on the server.
+13
source

The Apple HIG document recommends developers use startup images that have no text. For example, accept the contact application, it just displays an empty user interface, so the user believes that the application will start faster.

Therefore, I suggest that you follow this approach and remove any traces of the language from startup images.

+1
source

All Articles