iphone Programming Glossary: blueviewcontroller
View Controllers: How to switch between views programmatically? http://stackoverflow.com/questions/910994/view-controllers-how-to-switch-between-views-programmatically @class YellowViewController @interface SwitchViewController UIViewController IBOutlet BlueViewController blueViewController IBOutlet YellowViewController yellowViewController IBAction switchViews id sender @property nonatomic retain BlueViewController.. YellowViewController yellowViewController IBAction switchViews id sender @property nonatomic retain BlueViewController blueViewController @property nonatomic retain YellowViewController yellowViewController @end 1. remove yellow view and insert blue view IBAction.. yellowViewController @end 1. remove yellow view and insert blue view IBAction switchViews id sender if self.blueViewController.view.superview nil yellowViewController.view removeFromSuperview self.view insertSubview blueViewController.view atIndex..
|