for(UIView *view in self.tabBar.subviews)
{
if([view isKindOfClass:NSClassFromString(@"UITabBarButton")])
{
UILabel *lable = (UILabel *)[view subviews][1];
[lable setText:titleArray[i]];
}
i++;
}
for(UIView *view in self.tabBar.subviews)
{
if([view isKindOfClass:NSClassFromString(@"UITabBarButton")])
{
UILabel *lable = (UILabel *)[view subviews][1];
[lable setText:titleArray[i]];
}
i++;
}