我想获得iPhone的网络速度,以便在速度太慢时我可以向用户提供信息.
谁能告诉我如何分析iPhone的设备日志?
另外,有谁可以解释以下是什么意思?
0 libobjc.A.dylib 0x00007dd2 prepareForMethodLookup + 10",
Thread 0 Crashed:
0 libobjc.A.dylib 0x00007dd2 prepareForMethodLookup + 10
1 libobjc.A.dylib 0x00005162 lookUpMethod + 34
2 libobjc.A.dylib 0x0000290e _class_lookupMethodAndLoadCache + 6
3 libobjc.A.dylib 0x00002644 objc_msgSend_uncached + 20
4 iPad4HB 0x0002f112 0x1000 + 188690
5 iPad4HB 0x00010c86 0x1000 + 64646
6 CoreFoundation 0x00025166 -[NSObject performSelector:withObject:withObject:] + 18
7 UIKit 0x00055166 -[UIApplication sendAction:to:from:forEvent:] + 78
8 UIKit 0x00055106 -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26
9 UIKit 0x000550d8 -[UIControl sendAction:to:forEvent:] + 32
10 UIKit 0x00054e2a -[UIControl(Internal) _sendActionsForEvents:withEvent:] …Run Code Online (Sandbox Code Playgroud) 所有当我使用[nsmutablearray removeAllObjects]时我得到:[nsmutableArray retainCount] == 1;
然后,我使用[nsmutableArray relese]; 我有[nsmutableArray retainCount] == 1;
所以,我认为,[XXX retainCount] == 0真的代表内存释放???