这怎么可能?
我已经采用了基于标签的应用程序 以下是默认生成的代码
UIViewController *viewController1 = [[GMFirstViewController alloc] initWithNibName:@"GMFirstViewController" bundle:nil];
UIViewController *viewController2 = [[GMSecondViewController alloc] initWithNibName:@"GMSecondViewController" bundle:nil];
self.tabBarController = [[UITabBarController alloc] init];
self.tabBarController.viewControllers = @[viewController1, viewController2];
self.window.rootViewController = self.tabBarController;
[self.window makeKeyAndVisible];
我不想使用代码并采用xib中tabbar配置的逻辑。这怎么可能。请帮忙:(
答案 0 :(得分:0)