1. create the second window by new file -> objective-C class (subclass of ViewController). then .xib, .h and .m
2. set Action in the first view to trigger the second window
- (IBAction)showInfo
{
AboutViewController *controller = [[AboutViewControlleralloc]
initWithNibName:@"AboutViewController" bundle:nil];
controller.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;
[self presentViewController:controller animated:YES completion:nil];
}
pp110