¡@

Home 

2014/10/15 ¤U¤È 10:15:50

iphone Programming Glossary: viewhover

iPhone subview flip between 2 views

http://stackoverflow.com/questions/2336998/iphone-subview-flip-between-2-views

possible iphone objective c subview flip share improve this question Create another empty view in viewMain called viewHover and position it where you want the hover views to show. Then in IB add either viewHot or viewCold not both as a subview.. position it where you want the hover views to show. Then in IB add either viewHot or viewCold not both as a subview of viewHover. Then call a method like this to flip the views void flipViews UIView beginAnimations nil context NULL UIView setAnimationDuration.. NULL UIView setAnimationDuration 1.0 UIView setAnimationTransition UIViewAnimationTransitionFlipFromRight forView viewHover cache YES if viewHot superview viewHot removeFromSuperview viewHover addSubview viewCold viewHover sendSubviewToBack viewHot..