I have a UIView
that I would like to animate a flip up. This isn't like UIViewAnimationOptionTransitionFlipFromTop
because that places that axis in the middle of the view. I would like to have the axis at the top
of the view, so that it flips up similar to how a pad of paper flips from the top axis
(NOT a page peel).
[UIView transitionWithView:self.view duration:0.6
options:UIViewAnimationOptionTransitionFlipFromTopAxis // <---- Wish there was an option like this
animations:^{
// Exchange the views here
} completion:NULL];
I am thinking it isn't possible to do this with the standard UIView
animation options. What is the alternative to this, where I can control the flip axis?