I am developing an app in which I have to open a card like this video.
http://www.youtube.com/watch?v=srnRuhFvYl0&feature=youtu.be
Can some one suggest me any library or any way by which I can make this type of animation between 2 uiviews
I am developing an app in which I have to open a card like this video.
http://www.youtube.com/watch?v=srnRuhFvYl0&feature=youtu.be
Can some one suggest me any library or any way by which I can make this type of animation between 2 uiviews
try this demo for your effects.
here you can implement logic with bellow animation..
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:1.0];
[UIView setAnimationTransition:UIViewAnimationTransitionCurlUp forView:yourView2 cache:YES];// Here i set UIView2
[yourView1 removeFromSuperview];// And here i remove UIView1
[UIView commitAnimations];
Here also you can use UIViewAnimationTransitionCurlDown
instead of UIViewAnimationTransitionCurlUp
Also see this Demo.. leaves-developers
Try it....
- (IBAction)viewCommentBtnClk:(id)sender
{
ShowCommentViewController *showCommentVC = [[ShowCommentViewController alloc]init];
showCommentVC.buss_id = business_id;
[UIView beginAnimations:@"animation" context:nil];
[UIView setAnimationDuration:1.0];
[UIView setAnimationTransition:UIViewAnimationTransitionFlipFromLeft forView:self.navigationController.view cache:NO];
[self.navigationController pushViewController:showCommentVC animated:YES];
[UIView commitAnimations];
[self presentModalViewController:showCommentVC animated:YES];
[showCommentVC release];
}
Hope i helped.
their are many posts available for this question
turn-a-page-like-a-book-with-uiview
3d-door-open-animation-between-two-uiviewcontrollers
implementing-ibooks-page-curling THIS IS GREAT
Hope you will find the solution from this .....