RGB颜色转换#define kUIColorFromRGB(rgbValue) [UIColor \colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 \green:((float)((rgbValue & 0xFF00) >> 8)...
分类:
其他好文 时间:
2015-07-16 11:31:54
阅读次数:
102
1 //设置输入框 ---《因为输入框用了get方法,所以第一次调用输入框要用self 调用》; 2 self.textlab.frame=CGRectMake(20, 420, 250, 30); 3 _textlab.layer.borderColor=[UIColor blu...
分类:
移动开发 时间:
2015-07-15 22:40:50
阅读次数:
327
self.navigationController?.navigationBar.titleTextAttributes
= [NSForegroundColorAttributeName:UIColor.whiteColor(),UIFont(name: "Heiti SC", size: 24.0)!];...
分类:
编程语言 时间:
2015-07-15 19:22:32
阅读次数:
148
-?(UIImage?*)createImageWithColor:(UIColor?*)color
{
????CGRect?rect?=?CGRectMake(0.0f,?0.0f,?1.0f,?1.0f);
????UIGraphicsBeginImageContext(rect.size);
????CGContextRef?context...
分类:
其他好文 时间:
2015-07-15 17:14:45
阅读次数:
114
self.tableView.backgroundView?.backgroundColor =
UIColor.clearColor();
self.tableView.backgroundColor =
UIColor.clearColor();...
分类:
编程语言 时间:
2015-07-14 20:31:47
阅读次数:
129
MHHexColoring为开发者快速获取想要的十六进制颜色(Hex Color)查找16进制色码的网站:http://www.color-hex.com// 版权属于原作者MHHexColoringhttp://code4app.com/ios/MHHexColoring/548e9485933b...
分类:
其他好文 时间:
2015-07-14 20:00:12
阅读次数:
110
BFKit对常用于开发的类进行了扩展,整合了多个常用的控件和开发所需要的功能,是一个通用性的类库。集成后可以帮助更快的App开发。有兴趣的同学可以看看哦。http://code4app.com/ios/BFKit/549d08b4933bf087328bb02e
分类:
其他好文 时间:
2015-07-14 19:59:30
阅读次数:
153
一 修改导航栏颜色 导航栏在哪个页面代码放在那里面
self.navigationController.navigationBar.tintColor = [UIColor colorWithRed:(21.0/255.0) green:(153.0 / 255.0) blue:(224.0 / 255.0) alpha:1]; ...
分类:
移动开发 时间:
2015-07-14 18:13:41
阅读次数:
246
在ios开发的过程中,我们经常需要修改NavigationController的背景颜色,当使用方法[self.navigationController.navigationBar setBackgroundColor:[UIColor redColor]]时,运行的结果并不能修改北京颜色:
现在提供一种新方法来解决这个问题:
写一个NavigationBar写一个类别:
@in...
分类:
移动开发 时间:
2015-07-14 15:50:52
阅读次数:
205