码迷,mamicode.com
首页 >  
搜索关键字:uicolor    ( 848个结果
ios -晋级之路 如何去掉tableView多余行的横线
大家可能会遇到这种问题,就是我本来要用三行表格但是设置好之后,下面有出现了好多的横线~~~~orz这种方法可以解决问题UIView * view = [[UIView alloc]init]; view.backgroundColor = [UIColor clearColor]; [self......
分类:移动开发   时间:2015-07-21 14:42:55    阅读次数:127
iOS设置UINavigationBar 的样式
为了方便演示,我用storyBoard建立了一个基本的导航栏 并在代码中获得了NavgationBar UINavigationBar *bar = self.navigationController.navigationBar;1[bar setTintColor:[UIColor whiteCo...
分类:移动开发   时间:2015-07-21 12:32:24    阅读次数:129
根据字体计算CGRect
UILabel *label = [[UILabel alloc]init]; label.numberOfLines = 0;//多行显示 label.backgroundColor = [UIColor yellowColor]; label.font = [UIFon...
分类:其他好文   时间:2015-07-20 21:07:11    阅读次数:123
iOS动画之活动指示器
1.结果展示2.实现思路1.创建复制图层 CAReplicatorLayer *replicator = [CAReplicatorLayer layer]; replicator.frame = CGRectMake(50, 50, 200, 200); replicator.backgroundColor = [UIColor redColor].CGColor; [...
分类:移动开发   时间:2015-07-20 06:55:42    阅读次数:225
color 的一些处理
1.UIImage转换成UIcolorcell.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"call_半透明蓝"]];
分类:其他好文   时间:2015-07-19 23:27:08    阅读次数:127
Swift开发教程--如何去掉UITableViewController黑色线条
直接上代码: //去掉背景线条显示 self.tableView.separatorStyle = UITableViewCellSeparatorStyle.SingleLine; self.tableView.separatorColor = UIColor.clearColor();...
分类:编程语言   时间:2015-07-19 18:06:02    阅读次数:134
自定义Button背景色的方法
//自定义button设置背景色的方法 - (void)setBackgroundColor:(UIColor *)color forState:(UIControlState)state{ [self setBackgroundImage:[self buttonImageFromColor:color] forState:state]; } - (UII...
分类:其他好文   时间:2015-07-17 19:06:52    阅读次数:98
[翻译] UIColor-uiGradientsAdditions
UIColor-uiGradientsAdditionshttps://github.com/kaiinui/UIColor-uiGradientsAdditionsBeautiful colors fromhttp://uigradients.com/优雅的渐变色效果,来自于http://uigr...
分类:其他好文   时间:2015-07-16 23:52:21    阅读次数:138
解决设置uiview的alpha属性后导致subviews页透明
不要设置uiview.alphua属性,这样会影响到这个view的所有subviews的alphua。解决: self.backgroundColor = [[UIColor lightGrayColor] colorWithAlphaComponent:透明度比例];
分类:其他好文   时间:2015-07-16 15:53:24    阅读次数:82
【转】UITextView的使用详解
//初始化并定义大小 UITextView *textview = [[UITextView alloc] initWithFrame:CGRectMake(20, 10, 280, 30)]; textview.backgroundColor=[UIColor whiteColor]; //背景....
分类:其他好文   时间:2015-07-16 15:45:08    阅读次数:107
848条   上一页 1 ... 48 49 50 51 52 ... 85 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!