遍歷字典中的key,然后根據key值取出對應的value
如:
for (NSString *key in dict) {
//處理字典的
鍵值
NSString *value = dict[key];
if(value == nil) {
// 做你想做的
}
}