123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- //
- // ViewController.m
- // TumblrDownloader
- //
- // Created by HonorLee on 1/12/16.
- // Copyright © 2016 HonorLee. All rights reserved.
- //
- #import "ViewController.h"
- #import "Helper.h"
- @interface ViewController ()
- @end
- static ViewController *_inst;
- @implementation ViewController
- +(id)Instance{
- return _inst;
- }
- - (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 whiteColor];
- // self.tabBar.tintColor = [UIColor whiteColor];
- _inst = self;
- 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]];
- [Helper changeStatusBarBackground:[UIColor whiteColor]];
- // self.tabBar.selectionIndicatorImage=[UIImage imageNamed:@"tab_1.png"];
-
- }
- - (void)didReceiveMemoryWarning {
- [super didReceiveMemoryWarning];
- // Dispose of any resources that can be recreated.
- }
- @end
|