摘要: 1.当前View画成Image- (UIImage *) imageWithUIView:(UIView*) view{ UIGraphicsBeginImageContext(view.bounds.size); CGContextRef ctx = UIGraphicsGetCurrentContext();[view.layer renderInContext:ctx];UIImage* tImage = UIGraphicsGetImageFromCurrentImageContext(); UIGraphicsEndImageContext(); return tImage;}... 阅读全文
posted @ 2013-09-16 19:50 Asial 阅读(267) 评论(0) 推荐(0) 编辑