project_files/HedgewarsMobile/Classes/MainMenuViewController.m
changeset 3903 db01c37494af
parent 3893 568bfd083465
child 3923 694e6f6e0e30
equal deleted inserted replaced
3902:3aac7ca07b0e 3903:db01c37494af
   290             break;
   290             break;
   291         case 4:
   291         case 4:
   292             if (nil == self.savedGamesViewController) {
   292             if (nil == self.savedGamesViewController) {
   293                 SavedGamesViewController *savedgames = [[SavedGamesViewController alloc] initWithNibName:@"SavedGamesViewController" bundle:nil];
   293                 SavedGamesViewController *savedgames = [[SavedGamesViewController alloc] initWithNibName:@"SavedGamesViewController" bundle:nil];
   294                 savedgames.modalTransitionStyle = UIModalTransitionStyleCoverVertical;
   294                 savedgames.modalTransitionStyle = UIModalTransitionStyleCoverVertical;
   295                 savedgames.modalPresentationStyle = UIModalPresentationFormSheet;
   295                 savedgames.modalPresentationStyle = UIModalPresentationPageSheet;
   296                 self.savedGamesViewController = savedgames;
   296                 self.savedGamesViewController = savedgames;
   297                 [savedgames release];
   297                 [savedgames release];
   298             }
   298             }
   299             
   299             
   300             [self presentModalViewController:self.savedGamesViewController animated:YES];
   300             [self presentModalViewController:self.savedGamesViewController animated:YES];