To change the default color of the Tab-Bar�
Add the below code in viewWillAppear of your class
CGRect frame = CGRectMake(0.0, 0.0, self.view.bounds.size.width, 48);
UIView *v = [[UIView alloc] initWithFrame:frame];
[v setBackgroundColor:[UIColor colorWithRed:0.1 green:0.2 blue:0.6 alpha:0.8]];
[v setAlpha:0.5]; [[self.tabBarController tabBar] insertSubview:v atIndex:0];
[v release];
Please feel free to contact, If you need any other assistance,at Skype : pradeep_sundriyalPradeep
|
My Blog Title
|