摘要:
iphone程序中实现截屏的一种方法在iphone程序中实现截屏的一种方法://导入头文件#import QuartzCore/QuartzCore.h//将整个self.view大小的图层形式创建一张图片imageUIGraphicsBeginImageContext(self.view.bounds.size);[self.view.layer renderInContext:UIGraphicsGetCurrentContext()];UIImage*image=UIGraphicsGetImageFromCurrentImageContext();UIGraphicsEndImageC 阅读全文
posted @ 2012-07-12 19:36 rosylxf 阅读(4077) 评论(0) 推荐(0)
浙公网安备 33010602011771号