project_files/HedgewarsMobile/Classes/DetailViewController.m
changeset 3535 9e78c1f3d8d8
parent 3514 59dbd31e9953
child 3546 ccf4854df294
equal deleted inserted replaced
3534:51521238724f 3535:9e78c1f3d8d8
   126 
   126 
   127 -(IBAction) dismissSplitView {
   127 -(IBAction) dismissSplitView {
   128     [[NSNotificationCenter defaultCenter] postNotificationName:@"dismissModalView" object:nil];
   128     [[NSNotificationCenter defaultCenter] postNotificationName:@"dismissModalView" object:nil];
   129 }
   129 }
   130 
   130 
   131 #if __IPHONE_3_2
       
   132 #pragma mark -
   131 #pragma mark -
   133 #pragma mark splitview support
   132 #pragma mark splitview support
   134 -(void) splitViewController:(UISplitViewController *)svc popoverController:(UIPopoverController *)pc willPresentViewController:(UIViewController *)aViewController {
   133 -(void) splitViewController:(UISplitViewController *)svc popoverController:(UIPopoverController *)pc willPresentViewController:(UIViewController *)aViewController {
   135     if (popoverController != nil) {
   134     if (popoverController != nil) {
   136         [popoverController dismissPopoverAnimated:YES];
   135         [popoverController dismissPopoverAnimated:YES];
   168 
   167 
   169     self.popoverController = nil;*/
   168     self.popoverController = nil;*/
   170         self.navigationItem.rightBarButtonItem = nil;
   169         self.navigationItem.rightBarButtonItem = nil;
   171 
   170 
   172 }
   171 }
   173 #endif
       
   174 
   172 
   175 -(void) didReceiveMemoryWarning {
   173 -(void) didReceiveMemoryWarning {
   176     // Releases the view if it doesn't have a superview.
   174     // Releases the view if it doesn't have a superview.
   177     [super didReceiveMemoryWarning];
   175     [super didReceiveMemoryWarning];
   178     // Release any cached data, images, etc that aren't in use.
   176     // Release any cached data, images, etc that aren't in use.