简体   繁体   中英

uiview perspective view on animation iOS

I've been searching around, but couldn't find an answer that seems to address my specific issue. In my app, I have a Book View and I'll animate it using UIViewAnimationTransitionFlipFromRight.

My code ,

[UIView beginAnimations:@"View Flip" context:nil];
[UIView setAnimationDuration:3.25];
[UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];
[UIView setAnimationTransition:UIViewAnimationTransitionFlipFromRight forView:self.navigationController.view cache:YES];


[self.navigationController pushViewController:setingController animated:NO];
[UIView commitAnimations];

but I need a 3D Animation.

I need to show UIView with perspective view like shown in image below,

在此输入图像描述

Please help me with proper code for doing this animation.

Thanks in advance.

I found one solution for this type of animation. Please check this Link

https://github.com/GlennChiu/GC3DFlipTransitionStyleSegue

This we can add by using Pods.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM