Search Unity

SAVING SCREENSHOT ON iOS

Discussion in 'Scripting' started by reddogg, Sep 10, 2013.

  1. reddogg

    reddogg

    Joined:
    Jun 17, 2013
    Posts:
    11
    hi,

    one more question about saving screenshot on iOS.

    How use "ApplicationCaptureScreenshot" is clear for me. In effect it save a screenshot on Documents folder that is accessible from iTunes file sharing.

    My first problem is to implement a counter to save progressive numbered images in order to avoid overwrite previous saved images. Someone have idea about it?

    The other question is: It's really impossible to save a screenshot from Unity directly into camera roll without going to external plugs or xcode ?

    I have tried many unsuccessful solutions. the only one I seem to have a sense I found on " https://github.com/keijiro/unityscreenshot-example "

    but I can't get it to work. even here, ideas?
     
  2. ShadoX

    ShadoX

    Joined:
    Aug 25, 2010
    Posts:
    260
    Can't help you with saving the files, but if you have access to the location where the files are saved you could just do a quick check for existing images and get the last number from the image or try saving it as a value inside of the game.