didSelectRowAtIndexPath stucks for a moment
<p>I've a UITableView, where on selecting a row I push the controller to another view and while pushing I also pass a NSDictonary to the next view.</p>

<p>All is working fine but when i click on a row, it gets stuck for 3-4 seconds and then it get pushed to the next view.</p>

<p>Here is my code:</p>

<pre><code>- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
    if([dataSourceArray count]&gt;0)
    {
        [[DocMateAppDelegate sharedDelegate]showProcessingAlert];
        DoctorsDetailViewController *obj=[[DoctorsDetailViewController alloc]initWithNibName:@"DoctorsDetailViewController" bundle:nil];
        obj.doctorInfoDict=[dataSourceArray objectAtIndex:indexPath.row];
        [self.navigationController pushViewController:obj animated:YES];
    }
}
</code></pre>

<p>I dont know why this is happening.</p>

<p>One more thing, I have also buttons on each row and if I click on a button then it also moves to the next view with the same dictonary but it does not get stuck there.</p>

<p>Please help me.</p>

<p>Thanks</p>

<p>Ben</p>
