代码:
[self.menuList addObject:[NSDictionary dictionaryWithObjectsAndKeys:
NSLocalizedString(@"PropertySubtype2fTitle", @""),
kTitleKey,
publishNoOfRoomsViewController,
kViewControllerKey, nil]];
menuList 是一个 NSMutableArray。
我想稍后在代码中读取 PropertySubtype2fTitle 本地化字符串,例如:
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath