views:

11

answers:

0

Hi I'm developing tab based application, i'm having 5 tabs,following are the snap of controllers added tab bar controller,I need to support 3.4 view controller to both orientation (Landscape/Portrait -this support by default), i did override the below method,but that particular view is not change the orienation,if any one can give a sample or an idea really help me this moment.....

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)orientation
{
   if ((orientation == UIInterfaceOrientationPortrait) ||
       (orientation == UIInterfaceOrientationLandscapeLeft))
      return YES;
   return NO;
} 

01 UIViewConTroller
02 UIViewConTroller
03 NavigaionControler
     3.1 UIViewConTroller - Portrait 
     3.2 UIViewConTroller - Portrait  
     3.3 UIViewConTroller- Portrait 
     3.4 UIViewConTroller - Portrait /Landscape
     3.5 UIViewConTroller - Portrait 
04 UIViewConTroller
05 UITableVieController