I have two .xib files. I got it to transition from the first nib to the second just fine, however on the second nib, the view isn't aligned properly. I have no idea why it is doing this. Any ideas?
Here is where I show the view
Here is where I show the view
Code:
- (void)showTextView {
TextViewController *aTextViewController = [[TextViewController alloc] initWithNibName:@"TextView" bundle: nil];
[self setTextViewController:aTextViewController];
[aTextViewController release];
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:1.0];
[UIView setAnimationTransition:UIViewAnimationTransitionCurlUp forView:window cache:NO];
[viewController.view removeFromSuperview];
[self.window addSubview:[textViewController view]];
[UIView commitAnimations];
}