What causes a UIViewController to become active?

Posted by Rob Bonner on Stack Overflow See other posts from Stack Overflow or by Rob Bonner
Published on 2010-03-23T06:58:46Z Indexed on 2010/03/23 7:03 UTC
Read the original article Hit count: 188

Filed under:

I am sure this is an easy question, but one that has escaped me for some time now.

Say I have a UIViewController, either defined as a root in an XIB or on a stack. At some point in my code I want to replace it with another view controller. Just flat out replace it. How would I do that?

I have tried defining the controller and assigning, but not sure what actually makes it push on the screen with the absence of a navigation controller.

© Stack Overflow or respective owner

Related posts about iphone