iOS开发之'-[

xiaoxiao2021-02-28  85

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString appendString:]: nil argument' *** First throw call stack: (     0   CoreFoundation                      0x0000000110815b0b __exceptionPreprocess + 171     1   libobjc.A.dylib                     0x000000010fe66141 objc_exception_throw + 48     2   CoreFoundation                      0x000000011087e625 +[NSException raise:format:] + 197     3   CoreFoundation                      0x000000011084b594 mutateError + 196     4   swft                                0x000000010ed371ba -[QuickTableViewController tableView:cellForRowAtIndexPath:] + 2794     5   UIKit                               0x000000011107fd98 -[_UIFilteredDataSource tableView:cellForRowAtIndexPath:] + 98     6   UIKit                               0x0000000110da5ab2 -[UITableView _createPreparedCellForGlobalRow:withIndexPath:willDisplay:] + 750     7   UIKit                               0x0000000110da5cf8 -[UITableView _createPreparedCellForGlobalRow:willDisplay:] + 74     8   UIKit                               0x0000000110d7a639 -[UITableView _updateVisibleCellsNow:isRecursive:] + 2845     9   UIKit                               0x0000000110daeccc -[UITableView _performWithCachedTraitCollection:] + 111     10  UIKit                               0x0000000110d95e7a -[UITableView layoutSubviews] + 233     11  UIKit                               0x0000000110cfc55b -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1268     12  QuartzCore                          0x0000000115953904 -[CALayer layoutSublayers] + 146     13  QuartzCore                          0x0000000115947526 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 370     14  QuartzCore                          0x00000001159473a0 _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 24     15  QuartzCore                          0x00000001158d6e92 _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 294     16  QuartzCore                          0x0000000115903130 _ZN2CA11Transaction6commitEv + 468     17  UIKit                               0x0000000110c645e7 _afterCACommitHandler + 272     18  CoreFoundation                      0x00000001107bb717 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23     19  CoreFoundation                      0x00000001107bb687 __CFRunLoopDoObservers + 391     20  CoreFoundation                      0x00000001107a0720 __CFRunLoopRun + 1200     21  CoreFoundation                      0x00000001107a0016 CFRunLoopRunSpecific + 406     22  GraphicsServices                    0x000000011517da24 GSEventRunModal + 62     23  UIKit                               0x0000000110c39134 UIApplicationMain + 159     24  swft                                0x000000010ed4358f main + 111     25  libdyld.dylib                       0x00000001130fc65d start + 1     26  ???                                 0x0000000000000001 0x0 + 1 )

libc++abi.dylib: terminating with uncaught exception of type NSException

报这个错误的原因是因为拼接的字符串中,有空字符串

转载请注明原文地址: https://www.6miu.com/read-600073.html

最新回复(0)