I am taking a screenshot when the user presses a camera button like this:
screenShotPNG = screenShot.EncodeToPNG();
screenshotpath = Application.persistentDataPath + “/” + “photoName.png”
System.IO.File.WriteAllBytes(screenshotpath, screenShotPNG);
After the photo is saved it gets displayed with the overlay “Photo saved!”, then the user is returned to the live screen. However if you press the camera button again the screen freezes for a second like its capturing, but the image is not actually saved. Its much more noticeable on the ipad3 then on an iPhone or an Android so I’m thinking that its just taking an unreasonable long time to save. Has anyone else had an issue like this? Any ideas on how to resolve it?
Thanks