Here's the code:
[UIView transitionFromView:mapView toView:tableView duration:5.0 options:UIViewAnimationOptionShowHideTransitionViews|UIViewAnimationTransitionFlipFromLeft completion:NULL];
After calling this method the mapView is hidden and the tableView is visible, but there is no animation! I changed the duration to 5 seconds to make sure that I wouldn't miss the animation, but it really isn't animating. Is there anything wrong with the above line or do I need to do something to activate the animation?
It looks like you're using the wrong animation option. You need to be using.
UIViewAnimationOptionTransitionFlipFromLeft
Currently you're using
UIViewAnimationTransitionFlipFromLeft
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With