摘要:
1、获得屏幕图像- (UIImage *)imageFromView: (UIView *) theView{ UIGraphicsBeginImageContext(theView.frame.size); CGContextRef context = UIGraphicsGetCurrentContext(); [theView.layer renderInContext:context]; UIImage *theImage = UIGraphicsGetImageFromCurrentImageContext(); UIGraphicsEndImageContext(); ... 阅读全文
posted @ 2013-11-22 11:10
瓜甜甜
阅读(208)
评论(0)
推荐(0)