iPhone: UITableView, didSelectRowAtIndexPath called several times
<p>I have UITableView...when user tap on row, another screen is opened. The problem is, that sometimes, I tap once, but didSelectRowAtIndexPath calls several times. How to prevent that ?</p>

<p>The one case how to reproduce that situation is (you even can try to reproduce that on native iPhone settings):</p>

<ol>
<li>Tap one row but do not release finger</li>
<li>SLIDE few next rows from left to right or from right to left (not just tap, you should slide) next few rows in different order by other hand</li>
<li>Release finger</li>
</ol>

<p>You will see that blue selection is on several rows, and what screen will be opened is random</p>

<p>UPDATE:
In didSelectRow I just started new controller, where in viewDidLoad synchronization begin.
And if to reproduce my scenario step by step, than synch can be started several times</p>

<pre><code>  - (void)tableView:(UITableView *)tableView 
        didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
    SecondViewController *secondViewController =
        [SecondViewController alloc] init];
    [self.navigationController 
        pushViewController:secondViewController animated:YES];
    [secondViewController release];
  }
</code></pre>
