equal
deleted
inserted
replaced
121 else |
121 else |
122 viewController = [[MainMenuViewController alloc] initWithNibName:@"MainMenuViewController-iPhone" bundle:nil]; |
122 viewController = [[MainMenuViewController alloc] initWithNibName:@"MainMenuViewController-iPhone" bundle:nil]; |
123 [uiwindow addSubview:viewController.view]; |
123 [uiwindow addSubview:viewController.view]; |
124 |
124 |
125 // Set working directory to resource path |
125 // Set working directory to resource path |
126 [[NSFileManager defaultManager] changeCurrentDirectoryPath: [[NSBundle mainBundle] resourcePath]]; |
126 [[NSFileManager defaultManager] changeCurrentDirectoryPath:[[NSBundle mainBundle] resourcePath]]; |
127 |
127 |
128 [uiwindow makeKeyAndVisible]; |
128 [uiwindow makeKeyAndVisible]; |
129 [uiwindow layoutSubviews]; |
129 [uiwindow layoutSubviews]; |
130 } |
130 } |
131 |
131 |