I have this code to curl the page up but I need to curl the page from left to right or right to left. Please help!
[UIView beginAnimations:nil context:nil];
[UIView setAnimationDuration:1.0];
//[UIView setAnimationBeginsFromCurrentState:NO];
[UIView setAnimationTransition:UIViewAnimationTransitionCurlUp forView:imagePage cache:YES];
//UIView *parent = self.view.superview;
//[self.view removeFromSuperview];
//[parent addSubview:moreInfo];
[imagePage setImage:[UIImage imageNamed:[collectionOfImages objectAtIndex:countForPages]]];
[UIView commitAnimations];
Just use
UIViewAnimationTransitionFlipFromLeftandUIViewAnimationTransitionFlipFromRightinstead ofUIViewAnimationTransitionCurlUpto flip from left and right. Find the sample here for your guidance. For curl left and right, check the sample available here.