ios - Loading another viewController programatically -


I have asked a question about this issue here,

I have tried that with What was suggested:

// Add the view to the current view

  UIViewController * sv = [[Promotionview Alok] init]; [Self.view addSubview: sv.view]; [Add Child Child Control Controller: SV]; [Sv didMoveToParentViewController: Self];   

Where the next scene is another view controller class which is related to a view in the storyboard.

What really happens is that View of the next view: deadload method controller is executed, but the current view is to be visible, and I do not see the next scene on the screen gives.

Why is that so?

To present the viewer you have edited the view controller to check the screen below Instead of presenting that view controller:

Import the Promotion View Class:

Promotional View * SV = [[Promotionview Alok] initWithNibName: @ "Promotion View" Bundle: zero];

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -