#import "ViewController.h"
#import "OneViewController.h"
#import "TwoViewController.h"
#import "ThirdViewController.h"
#import "ForthViewController.h"
@interface ViewController ()
{
OneViewController * one;
TwoViewController * two;
ThirdViewController * third;
ForthViewController * two1;
UITabBar * tabbar;
}
@end
@implementation ViewController
- (void)viewDidLoad {
[superviewDidLoad];
// Do any additional setup after loading the view, typically from a nib.
/*
选项卡的简单实现
*/
[selfcreatUI];
}
-(void)creatUI
{
tabbar =[[UITabBaralloc]initWithFrame:CGRectMake(0