I\'ve got a UITabBar based application that works just fine. Under certain circumstances I am showing a different UIViewController instead though. Now what bugs me is that t
Just to second what was said above: Here's the code I had to use:
#define MAIN_SCREEN_OFFSET_PIXELS 20
- (void) pushDownViewOnMainScreen {
CGRect r = [[UIScreen mainScreen] applicationFrame];
r.origin.y -= MAIN_SCREEN_OFFSET_PIXELS;
self.view.frame = r;
}
- (void) viewDidLoad {
[self pushDownViewOnMainScreen];
// ...
}