UIViewanimation trantitionfromView using UIViewflip animation
问题 Building an app containing flashCards. They surely require the ability to flip a card. To do this i have a UIViewController and to avoid flipping the whole view I've implemented my subView into a container. I have declared two subviews in the container named, frontView and backView . frontView got red background and label saying front while backView got a blue background and label saying back. I have declared a variable so i can check which side is showened : var showingFront = true Got a