I need to switch between the two subzones because I use flip animation, but it flips the entire screen, not the subview. Here is the code I used to translate:
UIView.transitionFromView(frontView, toView: backView, duration: 1, options: UIViewAnimationOptions.TransitionFlipFromRight | UIViewAnimationOptions.ShowHideTransitionViews, completion: nil)
I created frontView and backView in StoryBoard, and the backView is hidden initially.
Please help me flip only the sub-views too.
ios swift uiviewanimation
naresh
source share