-2

可能重复:
如何在 iphone 中获取 NSMutableDictionary 计数?

如何NSMutableDictionary在iphone中计数。

4

1 回答 1

1
NSLog(@"Count : %d",[yourDictionary count])
OR
NSArray *keys = [yourDictionary allKeys];
NSLog(@"Count : %d", [keys count]);
于 2012-09-12T07:58:39.103 回答