crash on deleteRowsAtIndexPaths

前端 未结 5 562
温柔的废话
温柔的废话 2020-11-30 12:46

My application crashes when I\'m deleting row from table. Here is my sources where the bug is detected and stack trace. Thanx!

//delete row from database
- (         


        
5条回答
  •  情话喂你
    2020-11-30 13:05

    I got the same error and reason was I delete the last row in the table and my numberOfSectionsInTableView implementation return rowsArray count which was 0..

    changing to minimum of 1 solve the case

提交回复
热议问题