We are loading GIf inside each child view controller.once GIF is ended with the animation we are using scrollToPage function to navigate to next page.In this process there are cases that scroll is not finished and trying to scroll to next view.I removed the GIFs and tried to do the same approach with videos and the response is same.It is crashing some times.
please look into the crash that causing for app termination.Is there anyway to know the scroll is finished for child view controllers.Hopefully that helps to solve the problem.
It would be great if we can fix this issue as Pageboy is one of main component in my application and chosen after lot of other library searches.
We are loading GIf inside each child view controller.once GIF is ended with the animation we are using scrollToPage function to navigate to next page.In this process there are cases that scroll is not finished and trying to scroll to next view.I removed the GIFs and tried to do the same approach with videos and the response is same.It is crashing some times.
please look into the crash that causing for app termination.Is there anyway to know the scroll is finished for child view controllers.Hopefully that helps to solve the problem.
It would be great if we can fix this issue as Pageboy is one of main component in my application and chosen after lot of other library searches.
Last Exception Backtrace: 0 CoreFoundation 0x181586d8c __exceptionPreprocess + 228 (NSException.m:166) 1 libobjc.A.dylib 0x1807405ec objc_exception_throw + 56 (objc-exception.mm:521) 2 CoreFoundation 0x181586bf8 +[NSException raise:format:arguments:] + 104 (NSException.m:132) 3 Foundation 0x181f76fa0 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 112 (NSException.m:157) 4 UIKit 0x18bc4a74c -[_UIQueuingScrollView _replaceViews:updatingContents:adjustContentInsets:animated:] + 856 (_UIQueuingScrollView.m:395) 5 UIKit 0x18bc4dc18 -[_UIQueuingScrollView _didScrollWithAnimation:force:] + 1040 (_UIQueuingScrollView.m:853) 6 UIKit 0x18bc49928 -[_UIQueuingScrollView _scrollViewAnimationEnded:finished:] + 96 (_UIQueuingScrollView.m:264) 7 UIKit 0x18b452988 -[UIAnimator stopAnimation:] + 464 (UIAnimation.m:176) 8 UIKit 0x18b4523dc -[UIAnimator _advanceAnimationsOfType:withTimestamp:] + 300 (UIAnimation.m:305) 9 QuartzCore 0x1855f8f4c CA::Display::DisplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long) + 820 (CADisplay.mm:2008) 10 IOKit 0x1817ef48c IODispatchCalloutFromCFMessage + 492 (IOKitLib.c:1216) 11 CoreFoundation 0x181514b20 CFMachPortPerform + 188 (CFMachPort.c:689) 12 CoreFoundation 0x18152fae8 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION + 56 (CFRunLoop.c:1998) 13 CoreFoundation 0x18152f230 CFRunLoopDoSource1 + 440 (CFRunLoop.c:2135) 14 CoreFoundation 0x18152cc80 __CFRunLoopRun + 2456 (CFRunLoop.c:3150) 15 CoreFoundation 0x18144cda8 CFRunLoopRunSpecific + 552 (CFRunLoop.c:3245) 16 GraphicsServices 0x183432020 GSEventRunModal + 100 (GSEvent.c:2245) 17 UIKit 0x18b46c758 UIApplicationMain + 236 (UIApplication.m:3965) 18 MyClassmate 0x1000aa220 main + 56 (AppDelegate.swift:67) 19 libdyld.dylib 0x180eddfc0 start + 4