UIButton *actionButton = [[UIButton alloc] initWithFrame:CGRectMake(20.0, 160.0, 280.0, 38.0)]; [actionButton addTarget:self action:@selector(decisionButtonPressed) forControlEvents:UIControlEventTouchUpInside]; - (void)decisionButtonPressed{ }
UIButton *actionButton = [[UIButton alloc] initWithFrame:CGRectMake(20.0, 160.0, 280.0, 38.0)]; [actionButton addTarget:self action:@selector(decisionButtonPressed) forControlEvents:UIControlEventTouchUpInside]; - (void)decisionButtonPressed{ }