Sunday, 15 September 2013

UIToolBar With Status bar

UIToolBar With Status bar

I have a problem with a view where the Toolbar appears underneath the
status bar.
In Interface Builder my view looks like...

The code that assembles the view controllers...
- (BOOL)application:(UIApplication *)application
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen]
self.mainVC = [[ChartVC alloc] initWithNibName:@"ChartVC_iPad"
self.window.rootViewController = self.mainVC;
[self.window makeKeyAndVisible];
And how it appears in the simulator... - (Notice the extra 20px space at
the bottom)

So my question is, how can I correctly position the Toolbar and get rid of
the white space at the bottom?

No comments:

Post a Comment