I have a navigation controller in my app which has 2 view controllers, VC1 & VC2. VC1 is a table view and shows a list of videos from youtube then VC2 has UIWebview in which i have embedded youtubes code to play the video.
So in VC2 i want user to be able to go to landscape mode and watch the video in wide screen but in all the other vc's in my app are just portarit. So when the user presses the back button and comes back to VC1 i want the whole view to be rotated to portrait.
Is there a way to do this ??
Thanks,