viewController

跳转到另个viewController

C/C++ code
      
      
       
       
       
       
ViewController * controller = [[ViewController alloc] initWithNibName: @" ViewController " bundle:nil]; [self presentModalViewController:controller animated:YES]; [controller release];


如果多1个viewController控制多的View  
C/C++ code
      
      
       
       
       
       
[self.view addSubviewToFront:aView];[self.view addSubviewToFront:bView]; // 现在b在上层 [self.view bringSubviewToFront:bView];

你可能感兴趣的:(viewController)