我在 iOS 6 中遇到此异常,但找不到原因。使用此库在表格视图中选择日期: https ://github.com/TimCinel/ActionSheetPicker
不确定是不是太快释放对象的库。
任何帮助,将不胜感激。
谢谢你。
Exception Type EXC_BAD_ACCESS Code KERN_INVALID_ADDRESS at 0x5c8372ab
com.apple.main-thread Crashed
0 libobjc.A.dylib objc_msgSend + 29
1 UIKit -[UIApplication sendAction:to:from:forEvent:] + 72
2 UIKit -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 30
3 UIKit -[UIControl sendAction:to:forEvent:] + 44
4 UIKit -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 502
5 UIKit -[UIPickerView _sendSelectionChangedForComponent:] + 86
6 UIKit -[UIPickerTableView _scrollingFinished] + 140
7 UIKit -[UIScrollView(UIScrollViewInternal) _stopScrollDecelerationNotify:] + 836
8 UIKit -[UIScrollView(UIScrollViewInternal) _stopScrollingNotify:pin:tramplingDragFlags:] + 460
9 UIKit -[UIScrollView(UIScrollViewInternal) _stopScrollingNotify:pin:] + 30
10 UIKit -[UIScrollView(Static) _smoothScrollWithUpdateTime:] + 3362
11 QuartzCore CA::Display::DisplayLink::dispatch(unsigned long long, unsigned long long) + 160
12 QuartzCore CA::Display::IOMFBDisplayLink::callback(__IOMobileFramebuffer*, unsigned long long, unsigned long long, unsigned long long, void*) + 64
13 IOMobileFramebuffer IOMobileFramebufferVsyncNotifyFunc + 154
14 IOKit IODispatchCalloutFromCFMessage + 192