在做 点击section下拉展示相应cell的功能时,遇到了闹心的“Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '* -[__NSArrayM insertObject:atIndex:]:”
各种debug,各种调试,都发现是系统刷新cell时发生错误
最后,发现之所以会导致系统的那个错误,完全是因为使用了“自适应高度的cell”
self.tableView.estimatedRowHeight = 80 self.tableView.estimatedSectionHeaderHeight = 100 self.tableView.rowHeight = UITableViewAutomaticDimension self.tableView.sectionHeaderHeight = UITableViewAutomaticDimension
找到问题所在之后,就简单了,删除上边的代码即可
另:如果要调试这个错误,可以添加断点:“Add Symbolic Breakpoint”-> 输入 “[NSArray insertObject:atIndex:]”
相关推荐
2.Assertion failure and Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'No view controller managing visible view. detail in ...
Terminating app due to uncaught exception 'NSInternalInconsistencyException' ///继续看下去如: reason: 'UITableView dataSource returned a nil cell for row at index path:... ... ///找到这段英文中出现...
除了大多数访问器的无法识别的选择器之外,以下是常见的例外情况: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSOrderedSet intersectsSet:]: set argument is...
oracle 11g rac terminating the instance due to error 481 Doc ID 1383737.1
fix crash ---- Terminating app due to uncaught exception NSInvalidArgumentException , reason: [AVCaptureMetadataOutput setMetadataObjectTypes:] unsupported type found. Use ...
Terminating app due to uncaught exception 'NSGenericException', reason: 'UIPopoverPresentationController () should have a non-nil sourceView or barButtonItem set before the presentation occurs.' ...
侧边栏iOS 14 这是一个示例...已知错误以紧凑模式启动应用程序,然后将其更改为常规模式会导致以下错误: Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Unexpected vie
下面把searchDisplayController 引起的数组越界处理办法给大家分享如下...Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArrayI objectAtIndex:]: index 1 beyond bounds [0 .. 0
CKPT: terminating instance due to error 472 Instance terminated by CKPT, pid = 11604 Wed Jun 8 21:04:47 2005 Starting ORACLE instance (normal) 解决办法: Oracle工程师建议安装Oracle补丁p3949307_9206_...
2015-05-12T09:30:26.313+0800 I STORAGE [initandlisten] exception in initAndListen: 28574 Cannot start server. Detected data files in /root/Desktop/mongodb/data created by storage engine ‘mmapv1’. ...
Terminating app_main thread with osThreadExit() to avoid endless loop. Updated RTX configuration (CMSIS 5.8.0). Updated template based files (MDK-Middleware 7.13.0). Configured MDK projects to use Arm...
Version: 1.3.0 (2020-06-24) Keil.STM32MP1xx_DFP.1.3.0.pack Added additional devices for STM32MP157 sub family. ...Terminating app_main thread with osThreadExit() to avoid endless loop
Terminating app_main thread with osThreadExit() to avoid endless loop. USB Device examples: Added Event Recorder in USB Device examples (for STM32L073Z-EVAL board). Updated with user code templates ...
Version: 1.2.0 (2020-08-03) Keil.STM32G4xx_DFP.1.2.0.pack Added devices: STM32G491xxxx, STM32G4A1xxxx and STM32G483xx series. ...Terminating app_main thread with osThreadExit() to avoid endless loop
The main reason for making a virtual function inline is to place its definition in the class, either for convenience or to document its behavior, e.g., for accessors and mutators. The -inl.h Files...
Updated Pack to STM32Cube_FW_F4 Firmware Package version V1.25.1 using HAL Drivers V1.7.9. ...Terminating app_main thread with osThreadExit() to avoid endless loop Updated MS Windows UBS driver files.
Version: 2.15.0 (2020-09-28) Keil.STM32F4xx_DFP.2.15.0.pack Download Updated Pack to STM32Cube...Terminating app_main thread with osThreadExit() to avoid endless loop Updated MS Windows UBS driver files.
-Terminating app main thread with osThreadExito to avoid endless loop Added board support: -NUCLEO-F429ZI board -NUCLEO-F746ZG board Added debugProbe attribute to board description.
Terminating app_main thread with osThreadExit() to avoid endless loop. CMSIS-Driver: All: corrected compiler warnings if GNU extensions is enabled in C/C++ settings for ARM Compiler 5. CAN: Corrected...
电脑需先安装Keil MDK5。此固件库为Keil官方提供,直接双击安装即可,安装成功后在MDK5工程的Device中可以选择STM32该系列的ARM芯片。...Terminating app_main thread with osThreadExit() to avoid endless loop.