ermalkaleci / CarbonKit

CarbonKit - iOS Components (Obj-C & Swift)
MIT License
682 stars 164 forks source link

fix crash with error "Invalid parameter not satisfying: [views count] == 3" #216

Closed thevien01 closed 5 years ago

anuranBarman commented 5 years ago

@thevien01 issue occurs still when you tap on a tab title to select it. Below is the content of error

2019-01-08 20:54:07.525253+0530 eGlu Main[21952:6383019] *** Assertion failure in -[_UIQueuingScrollView _replaceViews:updatingContents:adjustContentInsets:animated:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKitCore/UIKit-3698.94.10/_UIQueuingScrollView.m:395
2019-01-08 20:54:07.527155+0530 eGlu Main[21952:6383019] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: [views count] == 3'
*** First throw call stack:
(0x1ae644ec4 0x1ad815a40 0x1ae55ab3c 0x1af0491d0 0x1db32b7f8 0x1db32ecbc 0x1db32a9e4 0x1db0d354c 0x1db0d3d08 0x1b2b12368 0x1b2bdb29c 0x1ae5ae01c 0x1ae5d5868 0x1ae5d4fb4 0x1ae5cfd6c 0x1ae5cf1f0 0x1b0848584 0x1db95ad40 0x10345fd48 0x1ae08ebb4)
libc++abi.dylib: terminating with uncaught exception of type NSException