Data files gone after app reinstall

Discussion in 'iPhone/iPad Programming' started by pinsrw, Oct 23, 2010.

  1. macrumors regular

    Joined:
    May 30, 2010
    #1
    Hi all,

    It appears that every time an app is installed, the data directory that the new app is located at a different file system path than the previous installation. This is not a big surprise, however I'm curious as to whether anyone has devised a way to retain app data between installations of an app? Other than keep it on a server, that is. My impression was that the only directory that an app can write to is its own data directory.

    Or how about: Is there any way to ensure that my program's data gets backed up to iTunes?

    Thanks.
     
  2. macrumors 6502a

    (marc)

    Joined:
    Sep 15, 2010
    Location:
    the woods
    #2
    Your ~/Documents directory gets backed up by iTunes automatically.
     
  3. thread starter macrumors regular

    Joined:
    May 30, 2010
    #3
    Ah yes, I see now that my iPad data files are on my Mac in
    ~/Library/Application Support/iPhone Simulator/3.2/Applications/*/Documents
     

Share This Page