Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以直接在界面构建器中使用字符串的本地化版本?还是我需要获取屏幕上每个标签等的引用,然后手动使用NSLocalizedString(...);?
NSLocalizedString(...);
在实用程序面板的文件检查器中,您将找到本地化部分。您可以在那里添加语言。对于每种语言,Xcode 将为该语言创建一个 XIB,因此您只需编辑每个 XIB。