Hey, I have another problem. I want this button to return every couple seconds and wrote out a timer but i dont know what selector to use. great if you could give me a little more help.
- (void)loadView {
self.view = [[UIView alloc] initWithFrame:[[UIScreen mainScreen] applicationFrame]];
self.view.backgroundColor = [UIColor whiteColor];
UIButton *button1 = [UIButton buttonWithType:UIButtonTypeRoundedRect];
button1.frame = CGRectMake(110, 200, 100, 30);
[button1 setTitle:@"Tap Me" forState:UIControlStateNormal];
[button1 addTarget:self action:@selector(buttonPressed

forControlEvents:UIControlEventTouchUpInside];
[self.view addSubview:button1];
}
-(void)buttonPressed

UIButton*)button {
[button setHidden:YES];
[NSTimer scheduledTimerWithTimeInterval:5
target:self
selector:@selector(buttonPressed

userInfo:nil
repeats:YES];
}