I want to merge the two images(Check screenshot 1), and change to the single image. But I am mot able to merge the 3D Transformed image.
If I merge the image means, its goes to the original size(Check screenshot 2).
How can I merge the image or take screenshot for the 3D Transformed image view.
I am used following code for merge the images,
-(UIImage *)captureView:(UIImageView *)imageView
{
//Merge the two images.
UIGraphicsBeginImageContext(backgroundImageView.frame.size);
CGContextRef ctx = UIGraphicsGetCurrentContext();
[imageView.layer renderInContext:ctx];
UIImage *newImage = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
return newImage;
}