hi friends
there is a simple way to set color of your UITabBar
CGRect frame = CGRectMake(0.0, 0, 320.0, 48);
UIView *v = [[UIView alloc] initWithFrame:frame];
[v setBackgroundColor:[[UIColor alloc] initWithRed:1.0 green:1.0 blue:0.0 alpha:0.6]];
[tabBar insertSubview:v atIndex:0]; //tabBar is object of your UITabBar
No comments:
Post a Comment