I have got two view controllers.

First view controller has got a table view.
when the user clicks a cell in a tableview of first view controller, he will be guided to second view controller.

when the user returns back again to the first view controller, the table view cell which he clicked previously has to be removed from the table view

Following is my code

```
-(void)reloadOnAction:(NSNotification *)notis{

dispatch_async(dispatch_get_main_queue(), ^{

    NSDictionary *dict = notis.userInfo;
    int index_Id = [[dict objectForKey:@"post_notification"] intValue];
    if ([_statNameArray count] != 0){
        [_statNameArray removeObjectAtIndex:index_Id];
    }
    [_tblView reloadData];
});}

```

the index\_Id contains the element that has to removed.
Though i Have reloaded the table view after altering the array, the changes are not being reflected in the ui. How can i sort this out?

Following is my numberOfRowsInSection method

```
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
{
    return [self.statNameArray count];
}

```