Wednesday, 14 August 2013

capturing view contains CATransform3d layers

capturing view contains CATransform3d layers

i am runining into problem i can't save my Tranfromed layer of one subview
with one Imagview,
is there any solution without converting my UIVIew into OPenGL View ,
UIGetscreenImage( )
is also not accepatable any more. please avoid providing the following
code as it does not work in 3d transform.
UIGraphicsBeginImageContextWithOptions(self.view.bounds.size,
self.view.opaque, 0.0);
[imageView.layer renderInContext:UIGraphicsGetCurrentContext()];
UIImage * img = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
Thanks in Advance

No comments:

Post a Comment