У меня есть этот код, чтобы свернуть страницу, но мне нужно свернуть страницу слева направо или справа налево. Пожалуйста помоги!
[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];