title: InvalidArgumentException when calling IBAction iphone
body: <p>This is kind of weird. I created a button programatically, but when i press it, it gives me an InvalidArgumentException with an unrecognized selector sent to instance... Here's how i create the buton:</p>
  
  <pre><code>[placeButton addTarget:self action:@selector(selectPlace)
                 forControlEvents:UIControlEventTouchUpInside];
  </code></pre>
  
  <p>And here's the IBAction: </p>
  
  <pre><code>-(IBAction)selectPlace:(id)sender
  {
          NSLog(@"didn't work");
  }
  </code></pre>
  
  <p>Now, if i remove the <code>(id)sender</code> parameter from the method, it works without problems. Is there a special property i have t set up for have the <code>(id)sender</code> as a parameter in the IBAction?</p>
  
  <p>Thanks in advance.</p>