ICViewPager icon indicating copy to clipboard operation
ICViewPager copied to clipboard

ViewPagerOptionTabLocation set 1.0 trigger crash

Open zicjin opened this issue 10 years ago • 2 comments

i use origin source code. just change: case ViewPagerOptionTabLocation: return 1.0; then get crash

zicjin avatar Aug 14 '14 16:08 zicjin

Sorry for the very late reply. I just tried it and there's not any problem. Can you provide crash logs?

iltercengiz avatar Sep 17 '14 10:09 iltercengiz

2015-09-15 10:24:36.864 ICViewPager[2043:19992] *** Assertion failure in -[UIPageViewController queuingScrollView:didBailoutOfScrollAndRevealedView:], /SourceCache/UIKit_Sim/UIKit-3347.44.2/UIPageViewController.m:1903 2015-09-15 10:24:37.052 ICViewPager[2043:19992] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'No view controller managing visible view (null)' *** First throw call stack: ( 0 CoreFoundation 0x000000011257ec65 exceptionPreprocess + 165 1 libobjc.A.dylib 0x00000001112b5bb7 objc_exception_throw + 45 2 CoreFoundation 0x000000011257eaca +[NSException raise:format:arguments:] + 106 3 Foundation 0x0000000110c8698f -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 195 4 UIKit 0x000000010fe75b34 -[UIPageViewController queuingScrollView:didBailoutOfScrollAndRevealedView:] + 156 5 UIKit 0x000000010ff16e6a -[_UIQueuingScrollView _didEndScroll:] + 955 6 UIKit 0x000000010ff16ea7 -[_UIQueuingScrollView _didEndManualScroll] + 43 7 UIKit 0x000000010ff12521 -[_UIQueuingScrollView _scrollViewDidEndDecelerating] + 65 8 UIKit 0x000000010f99c4d7 -[UIScrollView(UIScrollViewInternal) _stopScrollDecelerationNotify:] + 245 9 UIKit 0x000000010f99c725 -[UIScrollView(UIScrollViewInternal) _stopScrollingNotify:pin:tramplingDragFlags:] + 479 10 UIKit 0x000000010f996e8a -[UIScrollView _smoothScrollWithUpdateTime:] + 2896 11 QuartzCore 0x0000000112e3610f _ZN2CA7Display15DisplayLinkItem8dispatchEv + 37 12 QuartzCore 0x0000000112e35fd7 _ZN2CA7Display11DisplayLink14dispatch_itemsEyyy + 315 13 CoreFoundation 0x00000001124e6174 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION + 20 14 CoreFoundation 0x00000001124e5d35 __CFRunLoopDoTimer + 1045 15 CoreFoundation 0x00000001124a7d3d __CFRunLoopRun + 1901 16 CoreFoundation 0x00000001124a7366 CFRunLoopRunSpecific + 470 17 GraphicsServices 0x000000011241aa3e GSEventRunModal + 161 18 UIKit 0x000000010f8fe8c0 UIApplicationMain + 1282 19 ICViewPager 0x000000010f83f6ef main + 111 20 libdyld.dylib 0x0000000116391145 start + 1 21 ??? 0x0000000000000001 0x0 + 1 ) libc++abi.dylib: terminating with uncaught exception of type NSException

umangbista avatar Sep 15 '15 04:09 umangbista