How to refresh a table view from another view controller iOS? : <p>I have two view controllers. First one has a table view and using the second view controller I'm calling a method on first view controller. In that method I'm trying to adding an item to the objects array and refresh the table view. </p>

<pre><code>[postsArr insertObject:post atIndex:postsArr.count];
dispatch_async(dispatch_get_main_queue(), ^{
    [self.newsTableView reloadData];
});
</code></pre>

<p>I'm calling this method in 2nd view controller,</p>

<pre><code>dispatch_async(dispatch_get_main_queue(), ^{
    [self.navigationController popViewControllerAnimated:YES];
    [self.appContext.creator createWithText:userText  completion:^(UserData *userData,NSError *error) {
        if (error == nil){
            if (userData != nil) {
                [self.parent addNew:((UserData*)[userData.list objectAtIndex:0]) withImage:nil];
            }
        }else{
            [self showAlertWith:@"Error" with:@"Error occurred!"];
        }
    }];
});
</code></pre>

<p>How may I refresh the table view from another view controller?</p>
