hii every one
i have a table view n i have say 2 rows in that , using push view controller i am navigating to another page on click of the table row, after navigation when i come back to the table view data is displaying twice,,i.e 2 rows of data will become 4 rows of data with repeated entries
i am using following code to update the view is that causing that problem?
how can i resolve this , can any one help me
- (void)viewWillAppear:(BOOL)animated
{
[self.tableView reloadData];
[super viewWillAppear:animated];
}
will not be the cause for increasing the number of rows directly. Pls check the datasource methods for the tableView to see if the array you are using to populate the table view has been changed when you get back to the view. Pls post more code to get better responses