Try the following. Not sure why it does not work for you.
Try the following. Not sure why it does not work for you 1) set the key UIInterfaceOrientation to UIInterfaceOrientationLandscapeRight in your . Plist file 2) override your UITabBarController shouldAutorotateToInterfaceOrientation() method; in the following the code only deals with tab zero and one, and only with one controller: if you have a navigation controller and you want to control different controllers that may be on the stack, you have to modify the code accordingly - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { BOOL tabZeroController = self.
ViewControllers objectAtIndex:0 visibleViewController isKindOfClass:YourTabZeroTableViewController class; BOOL tabOneController = self. ViewControllers objectAtIndex:1 visibleViewController isKindOfClass:YourTabOneTableViewController class; if(self. SelectedIndex == 0 && tabZeroController) return (interfaceOrientation == UIInterfaceOrientationLandscapeRight); if(self.
SelectedIndex == 1 && tabOneController) return (interfaceOrientation == UIInterfaceOrientationLandscapeRight); return NO; } 2) setting UIDevice currentDevice setOrientation:UIInterfaceOrientationLandscapeRight; in your delegate's applicationDidFinishLaunching() method is only required for the simulator, not on a device 3) add the following shouldAutorotateToInterfaceOrientation(method) in your controllers - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { return (interfaceOrientation == UIInterfaceOrientationLandscapeRight); } 4) run the app on your device and verify that it works properly by using the Hardware menu item Rotate Left and Rotate Right. You should see the display in landscape-mode.
I think I'm missing something in your UITabBarController shouldAutorotateToInterfaceOrientation implementatio. So you want to return YES only if the viewcontroller of the currently selected tab is one of the viewcontrollers I setted for the tabbarcontroller? – Stefano Verna Jul 17 '09 at 9:06 Yes, basically that's the idea if you want to have a mixed behaviour in which some of your tab controllers are landascape only, while others may behave differently.
If this is not your case, in that method you simply return (interfaceOrientation == UIInterfaceOrientationLandscapeRight); – unforgiven Jul 17 '09 at 9:54 So that's exactly what I'm doing now.. that's so strange. I'll keep on investigate. – Stefano Verna Jul 17 '09 at 15:09 It's really strange indeed.It works on both my iPhone 3G and 3GS.
– unforgiven Jul 17 '09 at 19:06.
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.