Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
UITabbar background color
//Add this to a subclass of UITabbar controller
- (void)viewDidLoad
{
[super viewDidLoad];
CGSize tabBarSize = [self.tabBar frame].size;
UIView *tabBarFakeView = [[UIView alloc] initWithFrame:CGRectMake(0,0,tabBarSize.width, tabBarSize.height)];
[self.tabBar insertSubview:tabBarFakeView atIndex:0];
[tabBarFakeView setBackgroundColor:[UIColor redColor]];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.