本地化资产目录 [英] Localize Asset Catalogs

查看:116
本文介绍了本地化资产目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道这是一项新功能,但这可能无法实现,但我希望能够以不同语言本地化资产目录,以显示本地化的启动图像。这可以在XCode 4上简单地本地化图像,但是使用iOS7应用程序它不起作用。你知道这是否可能吗?

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?

推荐答案

我走了经典之路。只需使用单个本地化图像并正确设置您的plist。最简单的方法是使用一个资产目录,设置一切。然后打开应用程序包并复制正确命名的文件+正确的info.plist条目。 (当然,之后删除资产目录)结果如下所示:

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:

信息圈:

启动图片文件名:

(我需要所有iPad方向/尺寸+所有纵向iphone尺寸+7.0特定尺寸)

(I needed all iPad orientations/sizes + all portrait iphone sizes + 7.0 specific sizes)

这篇关于本地化资产目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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