摘要: - (UIImage *)renderImageFromView:(UIView *)the_view { UIGraphicsBeginImageContextWithOptions(the_view.bounds.size, the_view.opaque, 0.0); CGContextRef context=UIGraphicsGetCurrentContext(); [the_view.layer renderInContext:context]; //取得影像 UIImage *the_image = UIGraphicsGetImageFromCurrentImageContex 阅读全文
posted @ 2012-11-08 15:49 superchao 阅读(219) 评论(0) 推荐(0) 编辑