iOS视图翻页过渡效果

清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>

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];