How to persist data after app removal?

Discussion in 'iPhone/iPad Programming' started by OldGit, Feb 25, 2009.

  1. macrumors newbie

    Joined:
    Feb 2, 2009
    #1
    I assume that when a user deletes the app that all data stored locally by the app is deleted. But what if I wished to have data persist so that if they downloaded the app again, the app could reuse some of the old info such as preferences/login details etc

    Can I do this?
     
  2. macrumors 68000

    Joined:
    Nov 3, 2007
    #2
    Only if you constantly sync their data on your server and tie it to their UDID. Then on each launch send what's stored on your server to the device. Obviously not practical at all.
     
  3. Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #3
    Does a settings bundle get removed when you delete an application? Probably, huh?
     
  4. macrumors 68000

    Joined:
    Nov 3, 2007
    #4
    Yes
     
  5. macrumors 603

    Joined:
    Jul 29, 2003
    Location:
    Silicon Valley
    #5
    Try putting something in the Keychain.
     

Share This Page