UIButton

UIButton *button = [UIButton buttonWithType:UIButtonTypeInfoLight]; [button addTarget:self action:@selector(infoPressed:) forControlEvents:UIControlEventTouchUpInside]; UIBarButtonItem *infoItem = [[UIBarButtonItem alloc] initWithCustomView:button]; An attempt to clear touches by catching touches on the screen - (void)viewDidLoad {       [super viewDidLoad];	mylabel.text = @"www.aquacue.com";	[mybutton setTitle:@"Aquacue - Normal" forState: (UIControlState)UIControlStateNormal];	[mybutton setTitle:@"Aquacue - Highlighted" forState: (UIControlState)UIControlStateHighlighted];	[mybutton addTarget:self action:@selector(myButtonClick:) forControlEvents:(UIControlEvents)UIControlEventTouchDown]; }
 * http://taehoonkoo.blogspot.com/2009/07/iphone-add-info-button-to-uitoolbar.html
 * http://note19.com/2009/05/17/objective-c-adding-button-and-its-handler/

// ...

- (void)myButtonClick:(id)sender { mylabel.text = @"Clicked"; }

// ...

- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { mylabel.text = [NSString stringWithFormat: @"Hello Aquacue %@ %d", @"AAA", event.timestamp]; [super touchesBegan:touches withEvent:event]; }