iOSPawan
iOSPawan

Reputation: 2894

swap root view Controller

is there any way to release rootViewController in UInavigationController and set new view Controller as a root View Controller ???

Upvotes: 2

Views: 822

Answers (1)

Kris Markel
Kris Markel

Reputation: 12112

You can use setViewControllers:animated: to change view controllers that are in the navigation controller's stack. The root view controller is at index 0.

Upvotes: 2

Related Questions