摘要: - (UIImage*) imageWithUIView:(UIView*) view{UIGraphicsBeginImageContext(view.bounds.size);CGContextRef ctx = UIGraphicsGetCurrentContext();[view.layer renderInContext:ctx];UIImage* tImage = UIGraphicsGetImageFromCurrentImageContext();UIGraphicsEndImageContext();return tImage;} 阅读全文
posted @ 2012-01-29 11:09 tinyqf 阅读(418) 评论(0) 推荐(0)