如何将3D变换后的图像与背景图像合并?我使用以下代码。
UIGraphicsBeginImageContext(backgroundImageView.frame.size);
[backgroundImageView.layer renderInContext:UIGraphicsGetCurrentContext()]; //bacgroundImageView here
overlappedImage = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
它的工作正常,但我将3D变换更改为该图像(猫图像)它不起作用。请参阅附图。第一张图像是变换图像,第二张图像是合并图像(这是问题)。请帮帮我。我浪费了更多时间来解决这个问题。我希望任何人都能帮助我。提前致谢。