Silver Challenge


#1

We can dismiss the number pad with a tap gesture. In BNRDetailViewController.m, I added the following

- (void)viewDidLoad
{
    [super viewDidLoad];

    UITapGestureRecognizer *tapGestureRecognizer = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(dismissNumberPad)];
    [self.view addGestureRecognizer:tapGestureRecognizer];
}

- (void)dismissNumberPad
{
    [self.valueField resignFirstResponder];
}