戻るボタンをクリックすると、特定のビューをロードします。しかし、その特定のビューにtabbarControllerを追加する必要があります。どうすればよいですか。追加しようとしても追加されません。yを理解できませんでしたか?
 -(IBAction)switchtofirst {
AppViewController *first=[[AppViewController alloc] initWithNibName:@"AppViewController" bundle:nil];  
        Login *second=[[Login alloc]initWithNibName:@"Login" bundle:nil];
        second.title=@"Login";
        NSArray *viewArray=[[NSArray alloc] initWithObjects: first,second,nil];
        tabBarController=[[UITabBarController alloc] init];
        [tabBarController setViewControllers:viewArray animated:NO];
        AppViewController *gp=[AppViewController alloc];
         [gp.view addSubview:tabBarController.view]; 
      [self presentModalViewController:gp animated:NO];
        [gp release];
         }