08 2015 档案

摘要:static int ScreenshotIndex=0; //判断是否是retina屏 if ([[UIScreen mainScreen] respondsToSelector:@selector(scale)]){ // 开启图像上下文 UIGraphicsBeginIma... 阅读全文
posted @ 2015-08-26 14:32 tongyuling 阅读(295) 评论(0) 推荐(0)
摘要:#import "GLProgram.h" // Base classes#import "GPUImageOpenGLESContext.h"#import "GPUImageOutput.h"#import "GPUImageView.h"#import "GPUImageVideoCame... 阅读全文
posted @ 2015-08-26 10:32 tongyuling 阅读(335) 评论(0) 推荐(0)
摘要:刷新UITableView方法:[self.tableView reloadData];reloadData是刷新整个UITableView,有时候,我们可能需要局部刷新。比如:只刷新一个cell、只刷新一个section等等。这个时候在调用reloadData方法,虽然用户看不出来,但是有些浪费资... 阅读全文
posted @ 2015-08-19 17:54 tongyuling 阅读(502) 评论(0) 推荐(0)
摘要:1.去掉导航栏边界的黑线:in viewDidload:[self.navigationController.navigationBar setBackgroundImage:[[UIImage alloc] init] forBarMetrics:UIBarMetricsDefault];self... 阅读全文
posted @ 2015-08-03 16:37 tongyuling 阅读(792) 评论(0) 推荐(0)