This is the method I use to switch views. And my views are created with Interface Builder
- (IBAction)switchViews { self.view.backgroundColor = [UIColor blackColor]; [UIView beginAnimations:nil context:nil]; [UIView setAnimationDuration:1.25]; [UIView setAnimationCurve: UIAnimationCurveEaseInOut]; [UIView setAnimationTransition:UIViewAnimationTransitionFlipFromLeft forView:self.view cache:YES]; [self.view exchangeSubviewAtIndex:1 withSubviewAtIndex:2]; [UIView commitAnimations]; } I cannot guess why its white bacground when animation runs :( Could any one guess why is it ? Thank you. -Tharindu _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com