-1
我有一個NSDictionary中稱爲數據,當我打印使用的NSLog它給了我:提取值了NSDictionary的
DATA IS {
aps = {
alert = "aherlambang liked your photo";
badge = 1;
};
"media_id" = "220516456473412852_29088696";
}
我試圖做提取media_id:
NSLog(@"DATA IS %@ MEDIA ID IS %@", userInfo, [userInfo valueForKey:@"media-id"]);
但它總是給我null。爲什麼是這樣?