I have added viewcontrollers in following fashion:
in first viewController:
[self.view addsubview:secondViewcontroller.view];
Then in second viewController:
[self.view addsubview:thirdViewcontroller.view];
Then in third viewController:
[self.view addsubview:fourthViewcontroller.view];
Now i am in fouthViewcontroller and want to go back to firsiViewController using removeFromSuperview method.
How can we achieve this? Is there any other way to do this. I don't want to use UINavigationController.