我必须为本地化编写哪一行代码?

Which line of code I have to write for Localization?

代码 1:

cell.textLabel.text = LocalizedString(@"nice title");

代码 2:

cell.textLabel.text = LocalizedString(@"nice title",nil);

它们有什么区别?

哪一个是正确的可以使用?

你应该这样写

cell.textLabel.text = NSLocalizedString(@"nicetitle",@"comment goes here");