Fatal Exception: NSInternalInconsistencyException Invalid update: invalid number of items in section 0. The number of items contained in an existing section after the update (1) must be equal to the number of items contained in that section before the update (0), plus or minus the number of items inserted or deleted from that section (0 inserted, 0 deleted) and plus or minus the number of items moved into or out of that section (0 moved in, 0 moved out). Collection view: ; backgroundColor = UIExtendedGrayColorSpace 0 0; layer = ; contentOffset: {0, 0}; contentSize: {235, 88}; adjustedContentInset: {0, 0, 0, 0}; layout: ; dataSource: > Fatal Exception: NSInternalInconsistencyException 0 CoreFoundation 0x9cb4 __exceptionPreprocess 1 libobjc.A.dylib 0x183d0 objc_exception_throw 2 Foundation 0x4e154c _userInfoForFileAndLine 3 UIKitCore 0x7024f4 -[UICollectionView _Bug_Detected_In_Client_Of_UICollectionView_Invalid_Number_Of_Items_In_Section:] 4 UIKitCore 0x30d5a8 -[UICollectionView _endItemAnimationsWithInvalidationContext:tentativelyForReordering:animator:collectionViewAnimator:] 5 UIKitCore 0x26bd5c -[UICollectionView _updateRowsAtIndexPaths:updateAction:updates:] 6 UIKitCore 0x26d0e0 -[UICollectionView reloadItemsAtIndexPaths:] 7 PrintKitUI 0x2677c __55-[UIPrintPreviewViewController updatePrintPreviewInfo:]_block_invoke_3 8 UIKitCore 0x30494 +[UIView(Animation) performWithoutAnimation:] 9 PrintKitUI 0x266c8 __55-[UIPrintPreviewViewController updatePrintPreviewInfo:]_block_invoke 10 PrintKitUI 0x57b30 -[UIPrintPreviewPageFetcher resetAllPages:] 11 PrintKitUI 0x26460 -[UIPrintPreviewViewController updatePrintPreviewInfo:] 12 PrintKitUI 0x47b84 -[UIPrintPanelViewController updatePrintPreviewInfo] 13 PrintKitUI 0x45d5c -[UIPrintPanelViewController observeValueForKeyPath:ofObject:change:context:] 14 Foundation 0x3c0d0 NSKeyValueNotifyObserver 15 Foundation 0x52618 NSKeyValueDidChange 16 Foundation 0x3f518 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKeys:count:maybeOldValuesDict:maybeNewValuesDict:usingBlock:] 17 Foundation 0x3f248 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKey:key:key:usingBlock:] 18 Foundation 0x3e1f8 _NSSetLongLongValueAndNotify 19 PrintKitUI 0x52e00 -[UIPrintInColorOption observeValueForKeyPath:ofObject:change:context:] 20 Foundation 0x3c0d0 NSKeyValueNotifyObserver 21 Foundation 0x52618 NSKeyValueDidChange 22 Foundation 0x3f518 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKeys:count:maybeOldValuesDict:maybeNewValuesDict:usingBlock:] 23 Foundation 0x3f248 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKey:key:key:usingBlock:] 24 Foundation 0x3e7dc _NSSetObjectValueAndNotify 25 PrintKitUI 0x496f0 __51-[UIPrintPanelViewController lookupLastUsedPrinter]_block_invoke_2 26 libdispatch.dylib 0x2320 _dispatch_call_block_and_release 27 libdispatch.dylib 0x3eac _dispatch_client_callout 28 libdispatch.dylib 0x126a4 _dispatch_main_queue_drain 29 libdispatch.dylib 0x122f4 _dispatch_main_queue_callback_4CF 30 CoreFoundation 0x98c28 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ 31 CoreFoundation 0x7a560 __CFRunLoopRun 32 CoreFoundation 0x7f3ec CFRunLoopRunSpecific 33 GraphicsServices 0x135c GSEventRunModal 34 UIKitCore 0x39cf58 -[UIApplication _run] 35 UIKitCore 0x39cbbc UIApplicationMain 36 MyApp 0x2032c main + 13 (main.swift:13) 37 ??? 0x1b2e48dec (Missing)