I am building an app that uses multiple types of screens--all which warrant their own custom view controllers. I am successfully switching between view controllers and thei
Its not a bad solution. You basically set one view as the root view. When you need another UIViewController you set another one. Just be careful for the leaks...
rootViewController = (UIViewController *)[[BookViewController alloc] init];
Add this:
if(rootViewController){
self.rootViewController=nil;
}
}
So you release the previous one.
Edit 1: One thing: my explanation here is based on the fact that you don't want to use an UINavigationController.