截图,截屏

来源:互联网 发布:软件怎么销售 编辑:程序博客网 时间:2024/05/28 04:54
- (void)createScreenShot{    UIGraphicsBeginImageContextWithOptions(self.view.frame.size, YES, 0.0);    [self.view.layer renderInContext:UIGraphicsGetCurrentContext()];    UIImage *image = UIGraphicsGetImageFromCurrentImageContext();    [self.images addObject:image];}

0 0