当前位置:网站首页>Invalid update: invalid number of sections. The number of sections contained in the table view after
Invalid update: invalid number of sections. The number of sections contained in the table view after
2022-06-30 09:00:00 【Hujiajun】
“Invalid update: invalid number of sections. The number of sections contained in the table view after the update (1) must be equal to the number of sections contained in the table view before the update (0), plus or minus the number of sections inserted or deleted (0 inserted, 0 deleted). Table view: <UITableView: 0x7ff64900a000; frame = (0 0; 390 844); clipsToBounds = YES; autoresize = W+H; gestureRecognizers = <NSArray: 0x600000a7f090>; layer = <CALayer: 0x60000047cea0>; contentOffset: {0, -143}; contentSize: {390, 0}; adjustedContentInset: {143, 0, 34, 0}; dataSource: <Todos.TodosVC: 0x7ff644706850>>”
Reasons for appearance : After data changes tableView No updates
resolvent :
Add after the modified data
tableView.reloadData()
边栏推荐
- PHP API to obtain QR code and combine to generate pictures
- Flink Exception -- No ExecutorFactory found to execute the application
- Codeworks 5 questions per day (1700 for each) - the third day
- Comparaison de deux façons d'accéder à la base de données SQL Server (sqldatareader vs sqldataadapter)
- 基于Svelte3.x桌面端UI组件库Svelte UI
- el-input 限制只能输数字
- Torchvision loads the weight of RESNET except the full connection layer
- 将线程绑定在某个具体的CPU逻辑内核上运行
- Esp32 things (x): other functions
- Redis design and Implementation (VI) | cluster (sharding)
猜你喜欢
Redis design and Implementation (VI) | cluster (sharding)
[untitled]
Rew acoustic test (II): offline test
Introduction to the runner of mmcv
Interpretation of orientedrcnn papers
Flink Sql -- toAppendStream doesn‘t support consuming update and delete changes which
Opencv learning notes -day 11 (split() channel separation function and merge() channel merge function)
Flink Exception -- No ExecutorFactory found to execute the application
[untitled]
Gilbert Strang's course notes on linear algebra - Lesson 4
随机推荐
Based on svelte3 X desktop UI component library svelte UI
2021-04-29
Understanding society at the age of 14 - reading notes on "happiness at work"
2021-05-06
100 lines of code and a voice conversation assistant
Opencv learning notes -day 12 (ROI region extraction and inrange() function operation)
[untitled]
Interference source current spectrum test of current probe
Redis design and Implementation (VI) | cluster (sharding)
[untitled]
[untitled]
Opencv learning notes -day13 pixel value statistics calculation of maximum and minimum values, average values and standard deviations (use of minmaxloc() and meanstddev() functions)
C#訪問SQL Server數據庫兩種方式的比較(SqlDataReader vs SqlDataAdapter)
Bind threads to run on a specific CPU logical kernel
快应用中实现自定义抽屉组件
[kotlin collaboration process] complete the advanced kotlin collaboration process
Opencv learning notes -day2 (implemented by the color space conversion function cvtcolar(), and imwrite image saving function imwrite())
Flink Exception -- No ExecutorFactory found to execute the application
Qt连接神通数据库
2021-02-22