-
Notifications
You must be signed in to change notification settings - Fork 67
Description
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 CoreFoundation 0x0000000183d30bc8 -[__NSCFString getCString:maxLength:encoding:] + 4
1 Foundation 0x00000001847c1584 NSSelectorFromString + 96
2 xxxx 0x0000000102fe1c04 mt_forwardInvocation + 252932 (MessageThrottle.m:823)
3 CoreFoundation 0x0000000183e342d4 forwarding + 624
4 CoreFoundation 0x0000000183d1a41c CF_forwarding_prep_0 + 92
5 CoreFoundation 0x0000000183e36580 invoking + 144
6 CoreFoundation 0x0000000183d15748 -[NSInvocation invoke] + 284
7 CoreFoundation 0x0000000183d1a56c -[NSInvocation invokeWithTarget:] + 60
8 xxxx 0x0000000102fe1f40 mt_forwardInvocation + 253760 (MessageThrottle.m:0)
9 CoreFoundation 0x0000000183e342d4 forwarding + 624
10 CoreFoundation 0x0000000183d1a41c CF_forwarding_prep_0 + 92
11 CoreFoundation 0x0000000183e36580 invoking + 144
12 CoreFoundation 0x0000000183d15748 -[NSInvocation invoke] + 284
13 CoreFoundation 0x0000000183d1a56c -[NSInvocation invokeWithTarget:] + 60
14 xxxx 0x0000000102fe1f40 mt_forwardInvocation + 253760 (MessageThrottle.m:0)
15 CoreFoundation 0x0000000183e342d4 forwarding + 624
16 CoreFoundation 0x0000000183d1a41c CF_forwarding_prep_0 + 92
17 CoreFoundation 0x0000000183e36580 invoking + 144
18 CoreFoundation 0x0000000183d15748 -[NSInvocation invoke] + 284
19 CoreFoundation 0x0000000183d1a56c -[NSInvocation invokeWithTarget:] + 60
20 xxxx 0x0000000102fe1f40 mt_forwardInvocation + 253760 (MessageThrottle.m:0)
21 CoreFoundation 0x0000000183e342d4 forwarding + 624
22 CoreFoundation 0x0000000183d1a41c CF_forwarding_prep_0 + 92
23 CoreFoundation 0x0000000183e36580 invoking + 144
24 CoreFoundation 0x0000000183d15748 -[NSInvocation invoke] + 284
25 CoreFoundation 0x0000000183d1a56c -[NSInvocation invokeWithTarget:] + 60
26 xxxx 0x0000000102fe1f40 mt_forwardInvocation + 253760 (MessageThrottle.m:0)
27 CoreFoundation 0x0000000183e342d4 forwarding + 624
28 CoreFoundation 0x0000000183d1a41c CF_forwarding_prep_0 + 92
29 CoreFoundation 0x0000000183e36580 invoking + 144
30 CoreFoundation 0x0000000183d15748 -[NSInvocation invoke] + 284
31 CoreFoundation 0x0000000183d1a56c -[NSInvocation invokeWithTarget:] + 60
调用如下:
[self.collectionView mt_limitSelector:@selector(beginHeaderRefresh) oncePerDuration:5 usingMode:MTPerformModeFirstly];
每次 viewWillAppear 的时候调通 [ self.collectionView beginHeaderRefresh]