I have a Custom view. This custom view has two UIImageViews – imageview1 and imageview2.
[UIView beginAnimations:nil context:nil];
[UIView setAnimationTransition:UIViewAnimationTransitionFlipFromLeft forView:self cache:YES];
[self addSubview: imageview2];
[self addSubview: imageview1];
frontVisible = !frontVisible;
The image changes from imageview1 to imageview2 and viceversa but I dont get the flip effect. Instead I see the fading out of one image as the other appears.