创建UIImagePickerController //设置导航栏背景颜色 picker.navigationBar.barTintColor = HexRGB(0x4294FE); //设置右侧取消按钮的字体颜色 picker.navigationBar.tintColor = [UIColor ...
分类:
其他好文 时间:
2017-08-29 12:43:01
阅读次数:
247
// // ZQRViewController.m // 04-图片轮播器 // // Created by apple on 17-08-24. // Copyright (c) 2017年 zzqqrr. All rights reserved. // #define ZQRImageCount... ...
分类:
移动开发 时间:
2017-08-24 17:56:30
阅读次数:
262
/** 大图 */ - (IBAction)bigImg { //1.添加按钮遮罩层 UIButton *cover=[[UIButton alloc] init]; cover.frame=self.view.bounds; cover.backgroundColor=[UIColor black... ...
分类:
移动开发 时间:
2017-08-23 10:36:14
阅读次数:
297
#define kWidth [UIScreen mainScreen].bounds.size.width #define kHeight [UIScreen mainScreen].bounds.size.height #define RGBA(r,g,b,a) [UIColor colorWi ...
分类:
其他好文 时间:
2017-08-22 10:46:43
阅读次数:
128
1.设置图片(选中以及未选中) UITabBarItem *TuiJianItem=[[UITabBarItem alloc]initWithTitle:@"我的" image:[[UIImage imageNamed:@"index_bottom07_"] imageWithRenderingMo ...
分类:
移动开发 时间:
2017-08-21 15:48:31
阅读次数:
211
// NSFontAttributeName 设置字体属性,默认值:字体:Helvetica(Neue) 字号:12 // NSForegroundColorAttributeNam 设置字体颜色,取值为 UIColor对象,默认值为黑色 // NSBackgroundColorAttributeN ...
分类:
移动开发 时间:
2017-08-19 12:53:08
阅读次数:
276
1.CoreImage 中的模糊滤镜 1.1CoreImage是苹果用来简化图片处理的框架 1.2CIImage、CIFilter与CIContext三者联系 1.3CIGaussianBlur中可能设置的參数 2.UIImage+imageEffects的category模糊效果 3.iOS8中的 ...
分类:
其他好文 时间:
2017-08-15 21:08:33
阅读次数:
256
// 重写导航栏返回按钮方法 func configBackBtn() -> Void { // 返回按钮 let backButton = UIButton(type: .custom) // 给按钮设置返回箭头图片 backButton.setImage(UIImage(named: "Navi ...
分类:
编程语言 时间:
2017-08-14 11:33:56
阅读次数:
2469