Open your project's info. Plist under the Resource group in xCode. Select last line and click on the +(plus) icon.
Now select the key 'Initial interface orientation' for value 'Landscape (left home button)'. Or you can select any value from the list shown on clicking drop down buttons.
Thank you for the quick answer but I have tried it. Simulator gets back to portrait mode again. I didn't get the reason.. – gurkan Feb 15 at 15:07.
If all your app is gonna be in landscape you can change it at your project's plist. If not, you can also subclass MPMoviePlayerControllerView and implement and do something like this. - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation) interfaceOrientation { // Return YES for supported orientations.
If (interfaceOrientation == UIInterfaceOrientationLandscapeLeft || interfaceOrientation == UIInterfaceOrientationLandscapeRight) { return YES; } return NO; }.
Ok. Thank you. This one works fine.
But when I pass this viewController to navigationController, I mean self. NavigationController pushViewController: "bla bla" , after getting back from the next view its orientation is still landscape but content inside view is now portrait. Buy the way, next view after MPMoviePlayerView is portrait.
– gurkan Feb 15 at 15:10.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.