The question is similar to this one, but it was created when Xcode 5 doesn't exist. And that question is still not answered. There are also similar questions about how to delete the storyboard, but they are about navigation controller, not tab bar controller.
My action order:
create tabbed applcation
delete all the storyboard files
delete storyboards from .plist
create UITabBarController subclass and edit xib
change the app delegate:
- (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;
[self.window makeKeyAndVisible];
return YES;
}
The result is black screen with a gray place instead of tab bar.
Where is the mistake?