Open lvyile opened 8 years ago
temp solution is :+1:
UIGraphicsBeginImageContextWithOptions(currentImageView.bounds.size, NO, 1.f);
[currentImageView.layer renderInContext:UIGraphicsGetCurrentContext()];
UIImage *uiImage = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();