简体   繁体   中英

What is the correct way to use NSLocalizedString?

subjectLabel.text = NSLocalizedString(@"Kind Information", @"Info Label");

or

message.text= NSLocalizedString(@"Something Message",nil);

which is the correct one and what is the difference between these 2 examples?

The correct way is

 subjectLabel.text = NSLocalizedString(@"Kind Information", @"Info Label");

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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