I don´t understand the insertRowsAtIndexPaths use. I need make a reloadData of my tableview for this work?
if don´t make a reloadData the application is crashing.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The app is crashing because the data source is not consistent before and after the insertRows call.
As an example if you are inserting one new row, you need to return 1 more row in
tableView:numberOfRowsInSection:than before the insert call.Here is an example to demonstrate