wolfrevo
wolfrevo

Reputation: 2032

Viewcontroller question in iPhone SDK

I'm a iPhone App newbie. I have a viewcontroller and want to load a different viewcontroller directly after the first one is initialized.

Any help would be appreaciated. :)

Cheers Sebastian

Upvotes: 1

Views: 74

Answers (1)

Ben Gottlieb
Ben Gottlieb

Reputation: 85532

Use a UINavigationController. -initWithRootViewController using your first view controller, and then -pushViewController:animated: with your second view controller, passing NO for animated.

Upvotes: 1

Related Questions