iphone Programming Glossary: activetvc
iPhone: In landscape-only, after first addSubview, UITableViewController doesn't rotate properly http://stackoverflow.com/questions/1632117/iphone-in-landscape-only-after-first-addsubview-uitableviewcontroller-doesnt @end @interface MyAppDelegate NSObject UIApplicationDelegate MasterViewController masterVC UIViewController activeTVC UIViewController onDeckTVC @end void applicationDidFinishLaunching UIApplication application UIViewController masterVC MasterViewController.. void applicationDidFinishLaunching UIApplication application UIViewController masterVC MasterViewController alloc init activeTVC ShellTVC alloc initWithTitle @ View A onDeckTVC ShellTVC alloc initWithTitle @ View B window addSubview masterView.view.. initWithTitle @ View B window addSubview masterView.view window makeKeyAndVisible masterVC presentModalViewController activeTVC animated NO you would call this to toggle between View A and View B void toggleTVC UITableViewController hold activeTVC..
|