You see a black screen because your tab bar is empty, so you have to add ViewController to your TabController.
Modify you AppDelegate like this:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
// Override point for customization after application launch.
self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
BKTabController *navVC = [[BKTabController alloc] initWithNibName:@"BKTabController" bundle:nil];
self.window.rootViewController = navVC;
FirstViewController* firstView = [[FirstViewController alloc]initWithNibName:nil bundle:nil];
firstView.title = @"FIRST"; //THIS WILL BE THE TITLE OF YOUR FIRST TAB
SecondViewController* secondView = [[SecondViewController alloc]initWithNibName:nil bundle:nil];
secondView.title = @"SECOND";//THIS WILL BE THE TITLE OF YOUR SECOND TAB
//ADD VIEW CONTROLLER TO YOUR TAB CONTROLLER
self.tabBarController.viewControllers = @[firstView,secondView];
[self.window makeKeyAndVisible];
return YES;
}
Summary:
- Add two o more new ViewControllers to you Xcode project (ex FirstViewController, SecondViewController).
- Modify you app delegate by adding this ViewControllers to your Tab bar controller.