I have a homeViewController
(should always be in portrait mode) , which has four buttons to be redirected to a tar bar controller, which has four different viewController (first, second, third, fourth).
We want to have firstViewController
and fourthViewController
in portrait mode always. And secondViewController
and thirdViewController
in landscape mode always, also when we will go back to homeViewController
form any of these viewControllers the homeViewController
should always be in portrait mode.