views:

45

answers:

0

hi, My UIWindow has twoviewcontroller in pad .(for example ,tableview and imageviewcontrller ) I have done flipanimation when user presses the tableview, i called the method which is in appdeleagte from didSelectRowAtIndexPath ..(LIKE SPLITVIEWCONTROLLER) the method in t didSelectRowAtIndexPath

    iPadButtonsAppDelegate *mainDelegate = (iPadButtonsAppDelegate *)[[UIApplication sharedApplication] delegate];
     [mainDelegate flipToFront1];

- (void)flipToFront1
{

         [UIView beginAnimations:nil context:NULL];
             [UIView setAnimationDuration:1.0];

         [UIView setAnimationTransition:UIViewAnimationTransitionFlipFromLeft            forView:window cache:YES];


         [window addSubview:anotherimagecontroller];
         [UIView commitAnimations];

}

but Whole window is changed, is it possible only to go from that imageviewcontrller to anotherimagecontroller (i.e the tableview must be there in UIWindow)....any help please