Iphone SDK - Count increments by 4 for each button tap
<p>I have a simple routine to count everytime the user clicks a button.</p>

<p>However the integer (numberOfClicks) increments by four each time. Could the event be happening more than once for each user tap?</p>

<p>(btw the action method below is connected to the 'touch up inside' action)</p>

<pre><code>- (IBAction)myButtonClicked
{
   numberOfClicks+=1;
   NSString *clicks = [NSString stringWithFormat:@"number of clicks = %d", numberOfClicks];
   myLabel.text = clicks;
}
</code></pre>

<p>Many Thanks,
Chris</p>
