我对 tabbarcontroller 有问题。我正在使用故事板,我在 tabbarcontroller 和 viewcontroller 之间使用导航控制器。而且我有登录页面..从登录页面,我想直接转到 viewcontroller 2.tabbarcontroller..但是当我这样做我看不到标签栏控制器..可能是什么问题?你的建议是什么?
self.tabBarController = [[UITabBarController alloc] init];
UIImage* tabBarBackground = [UIImage imageNamed:@"Tab_bar_bkg.png"];
[[UITabBar appearance] setBackgroundImage:tabBarBackground];
[[UITabBarItem appearance] setTitleTextAttributes:
[NSDictionary dictionaryWithObjectsAndKeys:
[UIColor whiteColor], UITextAttributeTextColor,
[NSValue valueWithUIOffset:UIOffsetMake(0, 1)], UITextAttributeTextShadowOffset,
[UIFont fontWithName:@"Helvetica" size:0.0], UITextAttributeFont,
nil] forState:UIControlStateNormal];
先感谢您..