// // ViewController.m // TumblrDownloader // // Created by HonorLee on 1/12/16. // Copyright © 2016 HonorLee. All rights reserved. // #import "ViewController.h" @interface ViewController () @end @implementation ViewController - (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. // UIView *bgView = [[UIView alloc]initWithFrame:self.tabBar.bounds]; // bgView.backgroundColor = [UIColor orangeColor]; // [self.tabBar insertSubview:bgView atIndex:0]; // self.tabBar.opaque = YES; // UITabBar *tab = [self.tabBar.items objectAtIndex:0]; // [tabBar setTintColor:[UIColor orangeColor]];[CIColor colorWithString:@"#00bfff"]; self.tabBar.barTintColor = [UIColor colorWithRed:0/255.0 green:191/255.0 blue:255/255.0 alpha:1]; self.tabBar.tintColor = [UIColor whiteColor]; self.tabBar.opaque = NO; self.tabBar.translucent = NO; [self.tabBar setValue:@(YES) forKeyPath:@"_hidesShadow"]; [self.navigationController.navigationBar setBarTintColor:[UIColor colorWithRed:0/255.0 green:191/255.0 blue:255/255.0 alpha:1]]; } - (void)didReceiveMemoryWarning { [super didReceiveMemoryWarning]; // Dispose of any resources that can be recreated. } @end