equal
deleted
inserted
replaced
225 } |
225 } |
226 [self presentModalViewController:self.savedGamesViewController animated:YES]; |
226 [self presentModalViewController:self.savedGamesViewController animated:YES]; |
227 break; |
227 break; |
228 case 5: |
228 case 5: |
229 if (nil == self.missionsViewController) { |
229 if (nil == self.missionsViewController) { |
230 MissionTrainingViewController *missions = [[MissionTrainingViewController alloc] initWithNibName:@"MissionTrainingViewController-iPad" bundle:nil]; |
230 xib = IS_IPAD() ? @"MissionTrainingViewController-iPad" : @"MissionTrainingViewController-iPhone"; |
231 missions.modalTransitionStyle = UIModalTransitionStyleCoverVertical; |
231 MissionTrainingViewController *missions = [[MissionTrainingViewController alloc] initWithNibName:xib bundle:nil]; |
|
232 missions.modalTransitionStyle = IS_IPAD() ? UIModalTransitionStyleCoverVertical : UIModalTransitionStyleCrossDissolve; |
232 if ([missions respondsToSelector:@selector(setModalPresentationStyle:)]) |
233 if ([missions respondsToSelector:@selector(setModalPresentationStyle:)]) |
233 missions.modalPresentationStyle = UIModalPresentationPageSheet; |
234 missions.modalPresentationStyle = UIModalPresentationPageSheet; |
234 self.missionsViewController = missions; |
235 self.missionsViewController = missions; |
235 [missions release]; |
236 [missions release]; |
236 } |
237 } |