title: UIButton event 'Touch Up Inside' not working. 'Touch Down' works fine
body: <p>I've got a UIButton in a UIView, which is in a UIViewController that I've allocated and inited from a .xib file.</p>
  
  <p>When hooking an IBAction up to the 'Touch Down' event of a UIButton it triggers correctly. But if I hook it up to the 'Touch Up Inside' event it doesn't respond.</p>
  
  <p>Other events don't work either. 'Touch Drag Enter', 'Touch Drag Exit', 'Touch Up Outside' etc. Only Touch Down.</p>
  
  <p>Does anyone have any idea why this might be?</p>
  
  <hr>
  
  <p>The button is a simple rounded rectangle button in a view controller.
  I have loaded the view controller as such:</p>
  
  <pre><code>-(void) pushNewViewController
  {
      MyViewController* newViewController = [[MyViewController alloc] initWithNibName:@"MyViewController" bundle:nil];
      [self.view addSubview:newViewController.view];
      [newViewController release];
  }
  </code></pre>
  
  <p>I've added this button to rounded rect button to MyViewController, in IB.
  I created the following IBActions:</p>
  
  <pre><code>-(IBAction) buttonTouchDown:(id)sender
  {
      NSLog(@"Button Touch Down Event Fired.");
  }
  
  -(IBAction) buttonTouchUpInside:(id)sender
  {
      NSLog(@"Button Touch Up Inside Event Fired.");
  }
  </code></pre>
  
  <p>In the IB I menu clicked on the button and dragged the Touch Down outlet to MyViewController and selected buttonTouchDown:.  Saved the IB xib.</p>
  
  <p>When I run and test the button and get the "Button Touch Down Event Fired" log message.</p>
  
  <p>But when I go back to IB and change the Action to Touch Up Inside and hook it upto the buttonTouchUpInside: IBAction and save.  I test again, I get no response.</p>
  
  <p>Regards,
  Rich</p>