hope you will be doing fine.
I need to capture my View when I am in landscape orientation.
I am capturing gently in Portrait orientation, but when I switch to landscape orientation then only half of image I could capture.
I am doing something like this
UIGraphicsBeginImageContext(self.view.frame.size);
[self.view.layer renderInContext:UIGraphicsGetCurrentContext()];
viewImage = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
UIImageWriteToSavedPhotosAlbum(viewImage, nil, nil, nil);
What should I do when I am in Landscape Orientation.
Thing to remember :: When I am in landscape I have contents in scroll View, and they are not shown until I scroll down.
Is it making problem (the scroll view)?
Thanks in anticipation.