您好,我来为您解答,写法如下:
NSDictionary *item =[array objectAtIndex:row];
NSMutableDictionary *mutableItem = [NSMutableDictionary dictionaryWithDictionary:item];
[mutableItem setObject:@“222” forKey:@"aa"];
[array setObject: mutableItem atIndexedSubscript:row]
如果我的回答没能帮助您,请继续追问。
您好,我来为您解答,写法如下: NSDictionary *item =[array objectAtIndex:row]; NSMutableDictionary *mutableItem = [NSMutableDictionary dictionaryWithDictionary:item]; [mutableItem setObject:@“222” forKey:@"aa"]; [array setObject: mutableItem atIndexedSubscript:row]