Posted By

saturngod on 11/23/10


Tagged


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

sag333ar


UINavigationController with presentModalViewController


 / Published in: Objective C
 

  1. infoDataViewController *infoController = [[infoDataViewController alloc] initWithNibName:@"infoDataViewController" bundle:nil];
  2. infoController.modalTransitionStyle= UIModalTransitionStyleCrossDissolve;
  3. infoController.modalPresentationStyle=UIModalPresentationPageSheet;
  4. [self presentModalViewController:infoController animated:YES];
  5.  
  6. UINavigationController *navController = [[[UINavigationController alloc] initWithRootViewController:infoController] autorelease];
  7.  
  8. [self presentModalViewController:navController animated:YES];
  9.  
  10. [infoController release];

Report this snippet  

You need to login to post a comment.