tabBar 上分割线的颜色
来源:互联网 发布:网络运营需要什么技术 编辑:程序博客网 时间:2024/05/16 18:22
//改变tabbar线条颜色
CGRect rect =CGRectMake(0,0, [UIScreenmainScreen].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.tabBarsetShadowImage: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, [UIColorwhiteColor].CGColor);
CGContextFillRect(contextc, rectc);
UIImage *imagec =UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
[self.tabBarsetBackgroundImage:imagec];
- tabBar 上分割线的颜色
- iOS 更改tabBar分割线颜色
- 改变iOS7上tableview的分割线长、颜色问题
- 去除tabbar顶部分割线
- tabBar隐藏顶端分割线
- uitableview指定的分割线的颜色
- android listview的分割线修改颜色
- ExpandableListView设置分割线的颜色
- 改变NumberPicker文字,分割线的颜色
- 改变iOS7 8上tableview的分割线长、颜色问题
- iOS开发--改变iOS7上tableview的分割线长、颜色问题
- iOS10的UIPickerView分割线颜色,文字颜色
- 去掉tableView上的分割线
- 去掉listview的分割线和分割线的颜色,高度的设置
- 改变tableview的分割线长、颜色问题 以及自定义分割线
- iOS 设置TableView Separatorinset 分割线从边框顶端开始以及分割线的颜色
- ExpandableListView 分割线颜色设置
- ListView设置分割线颜色
- ESB v6.5.1,ESB性能指标咨询
- android gradle中关于 versionCode versionName 的配置
- 2.2产品需求管理
- android中常用的图片处理方法,涉及uri位图等多种图片转换
- The Solution to Leetcode 136 Single Number
- tabBar 上分割线的颜色
- 177
- java.lang.IllegalArgumentException: Receiver not registered: android.widget.ZoomButtonsController
- .NET Core Error: Package restore failed
- ESB v6.5.1,Console中部署时报数据库连接异常
- [linux][Ubuntu]如何让date命令等地方显示英文日期
- Linux编译安装中configure、make和make install各自的作用
- bzoj1776[Usaco2010 Hol]cowpol 奶牛政坛
- php根据背景图片深浅加水印