dic1 = [[NSMutableDictionary alloc] initWithDictionary:dic2, dic3];
谢谢
答案 0 :(得分:0)
您想在addEntriesFromDictionary:dic3
上使用NSMutableDictionary
方法:
dic1 = [[NSMutableDictionary alloc] initWithDictionary:dic2];
[dic1 addEntriesFromDictionary:dic3];