title: How to shift all the views down except for the tab bar in tabViewController?
body: <p>In order to fix the overlapping of status bar and navigation bar in iOS 7+, i'm using this code inside <code>didFinishLaunchingWithOptions</code> in <code>AppDelegate.m</code> : </p>
  
  <pre><code>- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
  
      //some codes
      //.
      //.
  
      if([[[UIDevice currentDevice] systemVersion] floatValue] &gt;= 7.0)
      {
          UIView *FakeNavBar = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 320, 20)];
          FakeNavBar.backgroundColor = UIColorFromRGB(0x55BCAFF);
  
          float navBarHeight = 20.0;
          for (UIView *subView in self.window.subviews) {
  
              if ([subView isKindOfClass:[UIScrollView class]]) {
                  subView.frame = CGRectMake(subView.frame.origin.x, subView.frame.origin.y + navBarHeight, subView.frame.size.width, subView.frame.size.height - navBarHeight);
              } else {
                  subView.frame = CGRectMake(subView.frame.origin.x, subView.frame.origin.y + navBarHeight, subView.frame.size.width, subView.frame.size.height);
              }
          }
          [self.window addSubview:FakeNavBar];
      }
  }
  </code></pre>
  
  <p>It pushes all my controllers and views 20 pixels down and  and the overlapping problem gets fixed but when i reach my tab view controller scene, then the tab bar on the bottom goes out of view by 20 pixels.</p>
  
  <p>So how can i keep the tab bar in its place while shifting everything else down?</p>
  
  <p>It would also work if i could just shift up only the tab bar by 20 pixels.</p>