Hi i have following scenario :
1) ViewControllerA >> pushes ViewControllerB
2) In ViewControllerB I have 3 buttons as AUTO , LANDSCAPE, PORTRAIT.
3) If user clicks on AUTO button the particular view controller should always be visible in PORTRAIT + LANDSCAPE mode depending on the orientation mode
4) If user clicks on LANDSCAPE button the particular view controller should always be visible in LANDSCAPE mode irrespective of the orientation of device.
5) If user clicks on PORTRAIT the particular view controller should always be visible in PORTRAIT mode irrespective of the orientation of device.
Forcing orientation on a particular view controller
I am working on iOS 7.0 both for iPad and iPhone.
Tried many links on Stack Overflow but all give suggestions for 6.0 and those doesn't work out in 7.0
Can anybody suggest me how to achieve this..