equal
deleted
inserted
replaced
105 |
105 |
106 switch (button.tag) { |
106 switch (button.tag) { |
107 case 0: |
107 case 0: |
108 gameConfigViewController = [[GameConfigViewController alloc] initWithNibName:@"GameConfigViewController" bundle:nil]; |
108 gameConfigViewController = [[GameConfigViewController alloc] initWithNibName:@"GameConfigViewController" bundle:nil]; |
109 |
109 |
110 // bug in UIModalTransitionStylePartialCurl, displays the controller awkwardly if it is not allocated every time |
|
111 if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) |
|
112 gameConfigViewController.modalTransitionStyle = UIModalTransitionStylePartialCurl; |
|
113 [self presentModalViewController:gameConfigViewController animated:YES]; |
110 [self presentModalViewController:gameConfigViewController animated:YES]; |
114 break; |
111 break; |
115 case 2: |
112 case 2: |
116 if (nil == settingsViewController) { |
113 if (nil == settingsViewController) { |
117 settingsViewController = [[SplitViewRootController alloc] initWithNibName:nil bundle:nil]; |
114 settingsViewController = [[SplitViewRootController alloc] initWithNibName:nil bundle:nil]; |