scrollToRowAtIndexPath from a different thread
<p>I am trying to use scrollToRowAtIndexPath on a tableView.
I'm using the method below.</p>

<p>Everything works fine when I'm calling this method by clicking a UIBarButtonItem, means - the tableView scrolls just fine. But, when I'm calling this method from a different thread it doesn't scroll. </p>

<p>ideas? </p>

<pre><code>-(void)handleDiffView
{
    NSIndexPath * ndxPath;

    if ( !isLooking ) {
        ndxPath= [NSIndexPath indexPathForRow:1 inSection:0];
    }
    else {
        ndxPath= [NSIndexPath indexPathForRow:0 inSection:0];
    }


    [self.tableView scrollToRowAtIndexPath:ndxPath atScrollPosition:UITableViewScrollPositionTop  animated:YES];

}
</code></pre>
