Iphone screenshot

Hi guys. I need to save a screenshot to a directory or somewhere local on iphone. It is only for the current session, so it doesnt have to be saved for later re opening of my app. Can i save onto the iphone and how would i create a directory to do so?any help appreciated. Thanks

Check out

Application.CaptureScreenshot

This file will saved at var path = Application.persistentDataPath + "/" + filename;. You can load texture from there by WWW.

thanks grinder

I think your second piece of code is what I have been looking for, will give that a try.