1 Set the Action in the second window
2 in .m file, implement the - (IBAction)close method.
pp 120
// AboutViewController.m
-(IBAction)close
{
[self.presentingViewController dismissViewControllerAnimated:YES completion:nil];
}
self.presentingViewController refers to BullsEyeViewController, the first window.