Posted By

saturngod on 03/10/11


Tagged


Versions (?)

presentModalViewController with UINavigationController


 / Published in: Objective C
 

URL: http://stackoverflow.com/questions/1622956/uinavigationcontroller-with-presentmodalviewcontroller

  1. Map *mapScreen = [[[Map alloc] init] autorelease];
  2. mapScreen.delegate = self;
  3.  
  4. UINavigationController *navController = [[[UINavigationController alloc] initWithRootViewController:mapScreen] autorelease];
  5.  
  6. [self presentModalViewController:navController animated:YES];

Report this snippet  

You need to login to post a comment.