How to apply top offset for status bar in iOS7 for UITabBarController children only
问题 My app is a UITabBarController based app with 3 children vc. The status bar is overlapping with my viewcontrollers. I have tried everything I have found in SO: I tried adding this to my AppDelegate: //Offset downwards to make room for status bar self.window.bounds = CGRectMake(0, -20, self.window.frame.size.width, self.window.frame.size.height); It worked because it moved the entire UITabBarController down by 20. But this resulted in the tabs being cut off at the bottom by -20. So Im thinking