I know it's a new feature and this may not be possible, but I would like to be able to localize an Asset Catalog in different languages, to show a localized launch image. This was possible on XCode 4 simply localizing an image, but with an iOS7 app it not works. Do you know if that is possible?
I went the classic way. Just use single localized images and set up your plist correctly. The easiest way is to use one asset catalog, set everything up. Then open the application bundle and copy the correctly named files + the correct info.plist entries. (And of course remove the assets catalog afterwards) Result looks like this:
Info-plist:
Launch images filenames:
(I needed all iPad orientations/sizes + all portrait iphone sizes + 7.0 specific sizes)
Asset Catalog assets and images localization is supported since Xcode 11.
From Apple's documentation, you need to set the UILaunchImageFile key to a custom launch image filename.
You then need to have localize that file.
And make sure that your Launch Image is not set to use an asset catalog.
I have the same problem in XCode 6.0 and iOS 7 and 8. Don't use Images.xcassets for splash screen. Add the following key to Info.plist:
<key>UILaunchImages~ipad</key>
<array>
<dict>
<key>UILaunchImageMinimumOSVersion</key>
<string>7.0</string>
<key>UILaunchImageName</key>
<string>Default-Landscape</string>
<key>UILaunchImageOrientation</key>
<string>Landscape</string>
<key>UILaunchImageSize</key>
<string>{768, 1024}</string>
</dict>
</array>
© 2022 - 2024 — McMap. All rights reserved.