CGContextRef context =UIGraphicsGetCurrentContext();[UIView beginAnimations:nil context:context];[UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];[UIView setAnimationDuration:1.0];// Apply the animation to the backdrop[UIView setAnimationTransition:UIViewAnimationTransitionCurlUp
    forView:myView cache:YES];// Exchange the two foreground views [myView exchangeSubviewAtIndex:0
    withSubviewAtIndex:1];[UIView commitAnimations];//该片段来自于http://outofmemory.cn
創作者介紹
創作者 shadow 的頭像
shadow

資訊園

shadow 發表在 痞客邦 留言(0) 人氣()