我正在尝试使用protocol
上UIScrollViewDelegate
的{{1}}方法的所有方法,事情正常但有两个问题
请帮助我找出这两个问题的原因。谢谢。
日期/时间:2013-07-25 17:20:41.675 -0700操作系统版本:iPhone OS 5.1(9B176)报告版本:104
异常类型:EXC_BAD_ACCESS(SIGSEGV)异常代码: KERN_INVALID_ADDRESS位于0x00000008崩溃的线程:0
线程0名称:调度队列:com.apple.main-thread线程0 崩溃:0 libobjc.A.dylib 0x37ed7f78 objc_msgSend + 16 1 UIKit 0x32aa573e - [UIGestureRecognizer setState:] + 206 2 UIKit 0x32af86c4 - [UILongPressGestureRecognizer enoughTimeElapsed:] + 132 3 CoreFoundation 0x3366e1f4 - [NSObject performSelector:withObject:] + 36 4 UIKit
0x32a9f1fe - [UIDelayedAction timerFired:] + 74 5基础
0x37d4f606 NSFireTimer + 138 6 CoreFoundation
0x336e3a2c __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION + 8 7 CoreFoundation 0x336e3692 __CFRunLoopDoTimer + 358 8 CoreFoundation 0x336e2268 __CFRunLoopRun + 1200 9 CoreFoundation 0x3366549e CFRunLoopRunSpecific + 294 10 CoreFoundation
0x33665366 CFRunLoopRunInMode + 98 11图形服务
0x36a19432 GSEventRunModal + 130 12 UIKit
0x329d2e76 UIApplicationMain + 1074