NSLocalizedString 的正确使用方法是什么?
What is the correct way to use NSLocalizedString?
subjectLabel.text = NSLocalizedString(@"Kind Information", @"Info Label");
或
message.text= NSLocalizedString(@"Something Message",nil);
哪一个是正确的,这两个例子有什么区别?
正确的做法是
subjectLabel.text = NSLocalizedString(@"Kind Information", @"Info Label");
subjectLabel.text = NSLocalizedString(@"Kind Information", @"Info Label");
或
message.text= NSLocalizedString(@"Something Message",nil);
哪一个是正确的,这两个例子有什么区别?
正确的做法是
subjectLabel.text = NSLocalizedString(@"Kind Information", @"Info Label");