How to set Tabbar integration in iPhone?
Posted
by
Minu
on Stack Overflow
See other posts from Stack Overflow
or by Minu
Published on 2012-09-13T08:08:32Z
Indexed on
2012/09/13
9:38 UTC
Read the original article
Hit count: 220
I am working on an iPhone app, using UITabBar to develop it. Only the tabbar background is visible, but it is not showing the title inside, how to fix this? please help me, Thanks in Advance.
below is the source code for your reference.
UITabBar *tab =[[UITabBar alloc]initWithFrame:CGRectMake(0, 300, 320, 44)];
[self.tabBarItem initWithTitle:@"1" image:nil tag:11];
[self.tabBarItem initWithTitle:@"2" image:nil tag:11];
[self.tabBarItem initWithTitle:@"3" image:nil tag:11];
[self.view addSubview:tab];
© Stack Overflow or respective owner