I'm adding my first UITableView and it draws in an unexpected manner. There's a gap (same size as topBar?) between the top of the UITableView and the topBar (referring to the line with the battery indicator).
#import "SettingsController.h"
UIView *settingsView;
UINavigationController *navigationController;
SettingsController *rootViewController =
[[SettingsController alloc] initWithStyle:UITableViewStyleGrouped];
UINavigationController *navigationController =
[[UINavigationController alloc]
initWithRootViewController:rootViewController];
settingsView = navigationController.view;
[self.view insertSubview:settingsView atIndex:0];
How can I move the UITableView to align with the bottom of the topBar?