I am creating an interactive iPad App, that is using a lot of Swiping. I want when swiping from right to the left and the animation also should go from right till left is. the other way from left till right is possible:
Example swipe left to right, call method:
[self.navigationController pushViewController:viewcontroller animated:YES];
Result: GOOD! Animation from left to right, and that is correct. But now the other way….
Question: How can I animate to go to a other UIViewController from right till left?
Posible solution?: I tried to use PopViewController but I don’t always want to return to the previous ViewController. Is there a way to manipulate the previous ViewController
THANKS IN ADVANCE!
Pass your view which you want to animate in the function below. And it will animate the view from left to right. Push the view controller
and then pass the viewcontroller’s view in the function below