Saturday, December 7, 2013

Be the login screen, how to jump to another viewcontrollor?

Ios just started doing something, the first step now stuck
There is now a landing viewcontrollor stroyboard, click on the login button how Skip to secondary viewcontrollor?

In addition, the project is a viewcontrollor control multiple view it? Or a viewcontrollor corresponds a view?
Reply:
Jump to another one viewController

 

ViewController * controller = [[ViewController alloc] initWithNibName: @ "ViewController" bundle: nil];
[Self presentModalViewController: controller animated: YES];
[Controller release];


If more than one viewController control more View
 
[Self.view addSubviewToFront: aView];
[Self.view addSubviewToFront: bView];

/ / Now b
in the upper[Self.view bringSubviewToFront: bView];



Reply:
Thank you upstairs, to solve the

No comments:

Post a Comment