摘要: -(UIImage *)captureScreenWithRect:(CGRect)rect{ UIGraphicsBeginImageContextWithOptions(self.view.bounds.size, YES, 1); [self.view.layer renderInContex 阅读全文
posted @ 2016-01-19 09:59 大厨子的世界 阅读(101) 评论(0) 推荐(0) 编辑
摘要: CGRect rect = CGRectMake(0, 0, [UIScreen mainScreen].bounds.size.width, 64); UIGraphicsBeginImageContext(rect.size); CGContextRef context = UIGraphics 阅读全文
posted @ 2016-01-19 09:37 大厨子的世界 阅读(287) 评论(0) 推荐(0) 编辑