//改变tabbar 线条颜色
CGRect rect = CGRectMake(0, 0, [UIScreen mainScreen].bounds.size.width, 1);
UIGraphicsBeginImageContext(rect.size);
CGContextRef context = UIGraphicsGetCurrentContext();
CGContextSetFillColorWithColor(context,RGB(253, 125, 83).CGColor);
//CGContextSetFillColorWithColor(context,LINEColor.CGColor);
CGContextFillRect(context, rect);
UIImage *img = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
[self.tabBar setShadowImage:img];
//[self.tabBar setBackgroundImage:[[UIImage alloc]init]];
//
CGRect rectc = CGRectMake(0.0f, 0.0f, 1.0f, 1.0f);
UIGraphicsBeginImageContext(rectc.size);
CGContextRef contextc = UIGraphicsGetCurrentContext();
CGContextSetFillColorWithColor(contextc, [UIColor whiteColor].CGColor);
CGContextFillRect(contextc, rectc);
UIImage *imagec = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
[self.tabBar setBackgroundImage:imagec];