equal
deleted
inserted
replaced
130 -(void) tabBarController:(UITabBarController *)tabBarController didSelectViewController:(UIViewController *)viewController { |
130 -(void) tabBarController:(UITabBarController *)tabBarController didSelectViewController:(UIViewController *)viewController { |
131 [viewController viewWillAppear:NO]; |
131 [viewController viewWillAppear:NO]; |
132 } |
132 } |
133 |
133 |
134 -(void) dismissSplitView { |
134 -(void) dismissSplitView { |
135 [AudioManagerController playBackSound]; |
135 [[AudioManagerController mainManager] playBackSound]; |
136 [[[HedgewarsAppDelegate sharedAppDelegate] mainViewController] dismissModalViewControllerAnimated:YES]; |
136 [[[HedgewarsAppDelegate sharedAppDelegate] mainViewController] dismissModalViewControllerAnimated:YES]; |
137 } |
137 } |
138 |
138 |
139 -(void) willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration { |
139 -(void) willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration { |
140 if (IS_IPAD() == NO) |
140 if (IS_IPAD() == NO) |
238 [tableView selectRowAtIndexPath:indexPath animated:YES scrollPosition:UITableViewScrollPositionNone]; |
238 [tableView selectRowAtIndexPath:indexPath animated:YES scrollPosition:UITableViewScrollPositionNone]; |
239 |
239 |
240 nextController.navigationItem.hidesBackButton = YES; |
240 nextController.navigationItem.hidesBackButton = YES; |
241 [nextController viewWillAppear:NO]; |
241 [nextController viewWillAppear:NO]; |
242 [targetController.navigationController pushViewController:nextController animated:NO]; |
242 [targetController.navigationController pushViewController:nextController animated:NO]; |
243 [AudioManagerController playClickSound]; |
243 [[AudioManagerController mainManager] playClickSound]; |
244 } |
244 } |
245 } |
245 } |
246 |
246 |
247 |
247 |
248 #pragma mark - |
248 #pragma mark - |