简体   繁体   English

如何加载本地笔尖?

[英]How to load the localized nib?

I have localized my nib files, I've got both English and Polish version: 我已经将笔尖文件本地化,同时具有英语和波兰语版本:

alt text http://img695.imageshack.us/img695/70/postitappdelegatemtwitt.png 替代文字http://img695.imageshack.us/img695/70/postitappdelegatemtwitt.png

In my code I load the nib: 在我的代码中,我加载了笔尖:

newPostUIViewController = [[NewPostUIViewController alloc] initWithNibName:@"NewPostView" bundle:nil]; 

Unfortunately when I run my app in Polish mode I still see the English version of the UI. 不幸的是,当我以波兰语模式运行我的应用程序时,仍然看到英文版的UI。 Do I need to do something more to make my app display the Polish version of the UI? 我需要做更多的事情来使我的应用显示波兰语版的UI吗?

Solved. 解决了。 Menu Build->Clean All Targets made the trick. 菜单Build-> Clean All Targets达到了目的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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