Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

UITabbar background color

View gist:1208481
1 2 3 4 5 6 7 8 9 10 11 12
 
//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.