摘要:
CGImageRef UIGetScreenImage();- (UIImage *) getScreenImage:(UIView *)shotView{ CGImageRef cgImage = UIGetScreenImage(); void *imageBytes = NULL; if (cgImage == NULL) { CGColorSpaceRef colorspace = CGColorSpaceCreateDeviceRGB(); imageBytes = malloc(shotView.bounds.size.width * ... 阅读全文