"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

How to take screenshots

I "FrameMarker" You take a screenshot. But while pictures are stored, and sisters have not seen any white image, the shutter will sound even more. CGRect rect = [[UIScreen mainScreen] bounds]; UIGraphicsBeginImageContext (rect.size); UIApplication * app = [UIApplication sharedApplication]; [app.keyWindow.layer renderInContext: UIGraphicsGetCurrentContext ()]; UIImage * img = UIGraphicsGetImageFromCurrentImageContext (); UIGraphicsEndImageContext (); UIImageWriteToSavedPhotosAlbum (img, nil, nil, nil); To resolve this problem do not know what to do. Please Help Thank you.

Hi ISB, I'm not clear what you mean by "and sisters have not seen any white image" but here's a few tips I've learnt with this function. 1) Retain the image and release it in the callback from UIImageWriteToSavedPhotosAlbum. 2) Keep image sizes to multiples of 32 pixels (using screen size should

Hi MoSR, Thanks so much! Because of your problem could be solved! You may want one. I want it placed a button on the screen. Questions about this issue again in a new thread.

I tried the method you pointed out MoSR and : - The screen size is not adjusted. - There is a lag when using the function glReadPixels with such a big range. Is there a way to take a screenshot without lagging too much ? DaProd

Hi DaProd, I'm not clear what you mean by "The screen size is not adjusted" since that is not mentioned in the thread. The code sample provided implements the screen capture as a single indivisible function, but has three phases: 1) read the buffer 2) convert the buffer 3) write the buffer.