我现在使用如下方法对屏幕截图:UIGraphicsBeginImageContext(self.view.bounds.size);[self.view.layerrenderInContext:UIGraphicsGetCurrentContext()];currentCaptureImage=UIGraphicsGetImageFromCurrentImageContext();UIGraphicsEndImageContext();但我想要的是区域截图,也就是说,我要设置origin坐标,然后设置width和height,请问怎么做?
慕莱坞森
慕斯王
随时随地看视频慕课网APP
相关分类